Title: Creating php error
Last modified: September 7, 2022

---

# Creating php error

 *  [Rosso Digital](https://wordpress.org/support/users/roberthemsing/)
 * (@roberthemsing)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/creating-php-error/)
 * The plugin is causing the below php error:
 * [07-Sep-2022 05:21:54 UTC] PHP Warning: strlen() expects parameter 1 to be string,
   array given in /home/[deleted for privacy]/public_html/wp/wp-content/plugins/
   official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/
   ServerSide/Normalizer.php on line 42

Viewing 1 replies (of 1 total)

 *  [Jonathan Horowitz](https://wordpress.org/support/users/jhorowitz/)
 * (@jhorowitz)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/creating-php-error/#post-15996418)
 * Hi [@roberthemsing](https://wordpress.org/support/users/roberthemsing/),
 * This is very likely the same issue a lot of people have been having with PHP 
   8, which is fixed by my PR here:
    [https://github.com/facebookincubator/Facebook-Pixel-for-Wordpress/pull/32](https://github.com/facebookincubator/Facebook-Pixel-for-Wordpress/pull/32)
 * It has been sitting around for a very long time but will hopefully get merged
   in and released eventually. In the meantime you can apply the changes in that
   PR to the plugin yourself on your site.

Viewing 1 replies (of 1 total)

The topic ‘Creating php error’ is closed to new replies.

 * ![](https://ps.w.org/official-facebook-pixel/assets/icon.svg?rev=3158868)
 * [Meta pixel for WordPress](https://wordpress.org/plugins/official-facebook-pixel/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/official-facebook-pixel/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/official-facebook-pixel/)
 * [Active Topics](https://wordpress.org/support/plugin/official-facebook-pixel/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/official-facebook-pixel/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/official-facebook-pixel/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jonathan Horowitz](https://wordpress.org/support/users/jhorowitz/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/creating-php-error/#post-15996418)
 * Status: not resolved