PHP 8 problem
-
WordPress vers?o 5.8.1
Plugin atual: Facebook for WordPress (vers?o 3.0.6)
PHP vers?o 8.0.12Um erro do tipo E_ERROR foi causado na linha 42 do arquivo /home/[…]/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Normalizer.php. Mensagem de erro: Uncaught TypeError: strlen(): Argument #1 ($string) must be of type string, array given in /home/[…]/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Normalizer.php:42
Stack trace:
#0 /home/[…]/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Normalizer.php(42): strlen()
#1 /home/[…]/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/UserData.php(914): FacebookAds\Object\ServerSide\Normalizer::normalize()
#2 /home/[…]/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/UserData.php(863): FacebookAds\Object\ServerSide\UserData->normalizeHashDedup()
#3 /home/[…]/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Event.php(373): FacebookAds\Object\ServerSide\UserData->normalize()
#4 /home/[…]/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventRequest.php(302): FacebookAds\Object\ServerSide\Event->normalize()
#5 /home/[…]/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventRequest.php(240): FacebookAds\Object\ServerSide\EventRequest->normalize()
#6 /home/[…]/wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventRequest.php(235): FacebookAds\Object\ServerSide\EventRequest->defaultExecute()
#7 /home/[…]/wp-content/plugins/official-facebook-pixel/core/FacebookServerSideEvent.php(101): FacebookAds\Object\ServerSide\EventRequest->execute()
#8 /home/[…]/wp-content/plugins/official-facebook-pixel/core/ServerEventAsyncTask.php(147): FacebookPixelPlugin\Core\FacebookServerSideEvent::send()
#9 /home/[…]/wp-content/plugins/official-facebook-pixel/vendor/techcrunch/wp-async-task/wp-async-task.php(164): FacebookPixelPlugin\Core\ServerEventAsyncTask->run_action()
#10 /home/[…]/wp-includes/class-wp-hook.php(303): WP_Async_Task->handle_postback()
#11 /home/[…]/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#12 /home/[…]/wp-includes/plugin.php(470): WP_Hook->do_action()
#13 /home/[…]/wp-admin/admin-post.php(51): do_action()
#14 {main}
thrown
- The topic ‘PHP 8 problem’ is closed to new replies.