• Resolved lcottingham

    (@lcottingham)


    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?

    • This topic was modified 2 years, 6 months ago by lcottingham.
Viewing 1 replies (of 1 total)
  • Plugin Support Thu P. a11n

    (@thup90)

    Hi there,

    I understand you’ve been seeing PHP warnings for Facebook for WooCommerce.

    To investigate further, could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status.
    Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Warnings in logs – illegal offset’ is closed to new replies.