Title: PHP Warning
Last modified: December 18, 2018

---

# PHP Warning

 *  Resolved [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/php-warning-179/)
 * Getting this warning when running your plugin on my site with debug turned on.
   Prevents me from doing ajax hits because it is printed to every screen. WP 5.0.1
   and weeblrAMP 1.10.2.693.
 * Illegal string offset ‘fb_pixel’ in <b>/wp-content/plugins/weeblramp/vendor/weeblr/
   wblib/packages/system/config.php</b> on line <b>488

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [weeblrpress](https://wordpress.org/support/users/weeblrpress/)
 * (@weeblrpress)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/php-warning-179/#post-11003700)
 * Hi
 * I’ll look into it but the first thing to be able to perform your ajax (and probably
   gzipping also) is simply to prevent any such error to be displayed. They should
   be logged to a file and never displayed as they create a (fairly small) security
   risk. Note that this is unrelated to weeblrAMP, it’s just a general security 
   practice.
 * So you should first set your WP_DEBUG to false in your wp-config.php file, or
   adjust the corresponding PHP setting on your server.
 * Now on to the warning:
 * 1 – What’s the history? when did this start to happen?
    2 – If you update to 
   weeblrAMP 1.10.2.693, did you re-save configuration after updating (normally 
   not required at all, just checling).
 * Best regards
 *  Plugin Author [weeblrpress](https://wordpress.org/support/users/weeblrpress/)
 * (@weeblrpress)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/php-warning-179/#post-11003710)
 * Hi
 * Sorry about previous message, I skipped the “with debug turned on”. So you know
   what you’re doing and should skip to the second part, the questions.
 * Best regards
 *  Plugin Author [weeblrpress](https://wordpress.org/support/users/weeblrpress/)
 * (@weeblrpress)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/php-warning-179/#post-11003753)
 * Hi again,
 * I tested this locally and I can reproduce it so we should be able to fix it quickly.
 * Best regards
 *  Plugin Author [weeblrpress](https://wordpress.org/support/users/weeblrpress/)
 * (@weeblrpress)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/php-warning-179/#post-11004006)
 * Hi
 * We have identified the issue and created a fix. We’ll have a new release very
   quickly. In the mean time, you can simply go to weeblrAMP settings page and press
   the Save button. This will re-save the configuration and solve the problem. Be
   sure to double-check your Analytics settings, it might be reset in the process(
   this won’t happen when installing the fixed version we’ll release hopefully tomorrow).
 * Thanks again for your report.
 * Best regards
 *  Thread Starter [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/php-warning-179/#post-11004899)
 * Yes this is in my beta testing environment. I updated the plugin and didn’t save
   the settings for it after updating. Once I saved the plugin settings again the
   warning disappeared.
 *  Plugin Author [weeblrpress](https://wordpress.org/support/users/weeblrpress/)
 * (@weeblrpress)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/php-warning-179/#post-11006275)
 * Hi
 * Glad it’s sorted, we’ll have the new release today.
 * Best regards

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘PHP Warning’ is closed to new replies.

 * ![](https://ps.w.org/weeblramp/assets/icon-256x256.png?rev=2308087)
 * [AMP on WordPress - weeblrAMP CE](https://wordpress.org/plugins/weeblramp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/weeblramp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/weeblramp/)
 * [Active Topics](https://wordpress.org/support/plugin/weeblramp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/weeblramp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/weeblramp/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [weeblrpress](https://wordpress.org/support/users/weeblrpress/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/php-warning-179/#post-11006275)
 * Status: resolved