- Issue created by @problue solutions
- 🇺🇸United States aitala
See https://www.drupal.org/project/business_rules/issues/3250592 🐛 Class RedirectResponse not found Needs work
- Status changed to Needs review
12 months ago 10:07am 26 December 2023 - 🇮🇳India dineshkumarbollu
provided patch according to #2 please review an test.
- 🇺🇸United States aitala
Deprecated function: Facebook\FacebookApp implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in include() (line 28 of /home/ipmsusa3/public_html/drupal9/vendor/facebook/graph-sdk/src/Facebook/FacebookApp.php) #0 /home/ipmsusa3/public_html/drupal9/docroot/core/includes/bootstrap.inc(347): _drupal_error_handler_real(8192, 'Facebook\\Facebo...', '/home/ipmsusa3/...', 28) #1 /home/ipmsusa3/public_html/drupal9/vendor/facebook/graph-sdk/src/Facebook/FacebookApp.php(28): _drupal_error_handler(8192, 'Facebook\\Facebo...', '/home/ipmsusa3/...', 28) #2 /home/ipmsusa3/public_html/drupal9/vendor/composer/ClassLoader.php(576): include('/home/ipmsusa3/...') #3 /home/ipmsusa3/public_html/drupal9/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/home/ipmsusa3/...') #4 /home/ipmsusa3/public_html/drupal9/vendor/facebook/graph-sdk/src/Facebook/Facebook.php(145): Composer\Autoload\ClassLoader->loadClass('Facebook\\Facebo...') #5 /home/ipmsusa3/public_html/drupal9/docroot/modules/contrib/autopost_facebook/src/Controller/AutoPostFacebookController.php(56): Facebook\Facebook->__construct(Array) #6 [internal function]: Drupal\autopost_facebook\Controller\AutoPostFacebookController->auth() #7 /home/ipmsusa3/public_html/drupal9/docroot/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array) #8 /home/ipmsusa3/public_html/drupal9/docroot/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #9 /home/ipmsusa3/public_html/drupal9/docroot/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #10 /home/ipmsusa3/public_html/drupal9/docroot/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) #11 /home/ipmsusa3/public_html/drupal9/vendor/symfony/http-kernel/HttpKernel.php(169): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #12 /home/ipmsusa3/public_html/drupal9/vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #13 /home/ipmsusa3/public_html/drupal9/docroot/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #14 /home/ipmsusa3/public_html/drupal9/docroot/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #15 /home/ipmsusa3/public_html/drupal9/docroot/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #16 /home/ipmsusa3/public_html/drupal9/docroot/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true) #17 /home/ipmsusa3/public_html/drupal9/docroot/core/modules/ban/src/BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #18 /home/ipmsusa3/public_html/drupal9/docroot/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #19 /home/ipmsusa3/public_html/drupal9/docroot/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #20 /home/ipmsusa3/public_html/drupal9/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #21 /home/ipmsusa3/public_html/drupal9/docroot/core/lib/Drupal/Core/DrupalKernel.php(718): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #22 /home/ipmsusa3/public_html/drupal9/docroot/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #23 {main}
then
Deprecated function: http_build_query(): Passing null to parameter #2 ($numeric_prefix) of type string is deprecated in Facebook\Authentication\OAuth2Client->getAuthorizationUrl() (line 146 of /home/ipmsusa3/public_html/drupal9/vendor/facebook/graph-sdk/src/Facebook/Authentication/OAuth2Client.php) #0 /home/ipmsusa3/public_html/drupal9/docroot/core/includes/bootstrap.inc(347): _drupal_error_handler_real(8192, 'http_build_quer...', '/home/ipmsusa3/...', 146) #1 [internal function]: _drupal_error_handler(8192, 'http_build_quer...', '/home/ipmsusa3/...', 146) #2 /home/ipmsusa3/public_html/drupal9/vendor/facebook/graph-sdk/src/Facebook/Authentication/OAuth2Client.php(146): http_build_query(Array, NULL, '&') #3 /home/ipmsusa3/public_html/drupal9/vendor/facebook/graph-sdk/src/Facebook/Helpers/FacebookRedirectLoginHelper.php(128): Facebook\Authentication\OAuth2Client->getAuthorizationUrl('https://reviews...', 'd5eec4bbe8d9176...', Array, Array, '&') #4 /home/ipmsusa3/public_html/drupal9/vendor/facebook/graph-sdk/src/Facebook/Helpers/FacebookRedirectLoginHelper.php(142): Facebook\Helpers\FacebookRedirectLoginHelper->makeUrl('https://reviews...', Array, Array, '&') #5 /home/ipmsusa3/public_html/drupal9/docroot/modules/contrib/autopost_facebook/src/Controller/AutoPostFacebookController.php(64): Facebook\Helpers\FacebookRedirectLoginHelper->getLoginUrl('https://reviews...', Array) #6 [internal function]: Drupal\autopost_facebook\Controller\AutoPostFacebookController->auth() #7 /home/ipmsusa3/public_html/drupal9/docroot/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array) #8 /home/ipmsusa3/public_html/drupal9/docroot/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #9 /home/ipmsusa3/public_html/drupal9/docroot/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #10 /home/ipmsusa3/public_html/drupal9/docroot/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) #11 /home/ipmsusa3/public_html/drupal9/vendor/symfony/http-kernel/HttpKernel.php(169): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #12 /home/ipmsusa3/public_html/drupal9/vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #13 /home/ipmsusa3/public_html/drupal9/docroot/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #14 /home/ipmsusa3/public_html/drupal9/docroot/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #15 /home/ipmsusa3/public_html/drupal9/docroot/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #16 /home/ipmsusa3/public_html/drupal9/docroot/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true) #17 /home/ipmsusa3/public_html/drupal9/docroot/core/modules/ban/src/BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #18 /home/ipmsusa3/public_html/drupal9/docroot/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #19 /home/ipmsusa3/public_html/drupal9/docroot/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #20 /home/ipmsusa3/public_html/drupal9/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #21 /home/ipmsusa3/public_html/drupal9/docroot/core/lib/Drupal/Core/DrupalKernel.php(718): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #22 /home/ipmsusa3/public_html/drupal9/docroot/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #23 {main}