PHP Warnings in logs – illegal offset
-
Hi team,
I’ve been getting PHP warnings (v7.4) for your plugin for a while. Every page load records warnings in my logs. A quick snippet here appears to be illegal offsets for array variables you are reading:
[05-May-2022 17:18:07 UTC] PHP Warning: Illegal string offset 'pixel_id' in /home/customer/www/*******/public_html/wp-content/plugins/facebook-for-woocommerce/facebook-commerce-pixel-event.php on line 566 [05-May-2022 17:18:07 UTC] PHP Warning: Illegal string offset 'use_pii' in /home/customer/www/*******/public_html/wp-content/plugins/facebook-for-woocommerce/facebook-commerce-pixel-event.php on line 595 [05-May-2022 17:18:07 UTC] PHP Warning: Illegal string offset 'use_s2s' in /home/customer/www/*******/public_html/wp-content/plugins/facebook-for-woocommerce/facebook-commerce-pixel-event.php on line 624 [05-May-2022 17:18:07 UTC] PHP Warning: Cannot assign an empty string to a string offset in /home/customer/www/*******/public_html/wp-content/plugins/facebook-for-woocommerce/facebook-commerce-pixel-event.php on line 624 [05-May-2022 17:18:07 UTC] PHP Warning: Illegal string offset 'access_token' in /home/customer/www/*******/public_html/wp-content/plugins/facebook-for-woocommerce/facebook-commerce-pixel-event.php on line 653 [05-May-2022 17:18:07 UTC] PHP Warning: Cannot assign an empty string to a string offset in /home/customer/www/*******/public_html/wp-content/plugins/facebook-for-woocommerce/facebook-commerce-pixel-event.php on line 653
Can we get this sorted?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP Warnings in logs – illegal offset’ is closed to new replies.