• By debug logs are CLOGGED with Illegal string offset warnings. Yes, it’s non-fatal, but stinks of bad code. Also getting lots of Cannot assign an empty string to a string offset

    Can we sort this please. It’s making it very hard to debug genuine errors!

    For example:
    Cannot assign an empty string to a string offset in /****/wp-content/plugins/facebook-for-woocommerce/facebook-commerce-pixel-event.php on line 624

    Illegal string offset 'use_s2s' in /****/wp-content/plugins/facebook-for-woocommerce/facebook-commerce-pixel-event.php on line 624

    • This topic was modified 3 years, 2 months ago by lcottingham.
Viewing 1 replies (of 1 total)
  • Hello @lcottingham

    Are any errors showing on the frontend of your site or have you noticed anything weird with the Facebook extension behavior?

    This warning seems to appear because the code can’t find a value for the expected ‘use_s2s’defined in that line. Does the name use_s2s refers to anything specific within the Facebook plugin?

    When did you notice this problem started to happen?

    I’d also like to better understand your site. Could you please send me 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, you can paste it here in your response.

    Once we have that information, we’ll be in a better place to help.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Errors – Illegal string offset’ is closed to new replies.