WPIntell

Source evidence

PHP Warning

AMP on WordPress – weeblrAMP CE · support · 2018-12-18T16:47:00+00:00

mixedsentiment
highseverity
0.95relevance
6replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 32 rows with source links

15.6% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

27 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Jeff Sterup resolved
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 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 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 Hi again, I tested this locally and I can reproduce it so we should be able to fix it quickly. Best regards 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 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. Hi Glad it’s sorted, we’ll have the new release today. Best regards

Comments

6 shown
weeblrpress 2018-12-18T17:32:00+00:00

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

weeblrpress 2018-12-18T17:35:00+00:00

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

weeblrpress 2018-12-18T17:43:00+00:00

Hi again, I tested this locally and I can reproduce it so we should be able to fix it quickly. Best regards

weeblrpress 2018-12-18T18:41:00+00:00

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

Jeff Sterup 2018-12-18T22:46:00+00:00

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.

weeblrpress 2018-12-19T08:32:00+00:00

Hi Glad it’s sorted, we’ll have the new release today. Best regards