#227 – Jetpack Integration issue

Posted in ‘weeblrAMP’
This is a public ticket. Everybody will be able to see its contents. Only enter usernames, passwords or any other sensitive information in the Private information field.
Wednesday, 08 July 2020 11:28 UTC
nurgling
 Hi there,

I am using jetpack for the metrics it provides. Not one option is switched on.

When I am using it with Weeblr, on my amp pages, it get this at the top of the amp pages:

Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/39/d160121331/htdocs/veryprivategallery/wp-content/plugins/weeblramp/integration/jetpack.php on line 224

Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/39/d160121331/htdocs/veryprivategallery/wp-content/plugins/weeblramp/integration/jetpack.php on line 224


Any idea how I could solve that?

Best! And thanks in advance!
Wednesday, 08 July 2020 13:18 UTC
wb_weeblrpress
Hi

Thanks for the report. This does not cause any issue and we've made a development version that does not show them. You can download this version from the development versions download area and install over your current version.

If this is a production website, we'd recommend making sure WP_DEBUG is set to false so that those warnings are not shown on the site anyway.

Best regards
 
Wednesday, 08 July 2020 14:34 UTC
nurgling
Hi,

I tried with DEBUG false and the lines were still there.
I solved it with the development version as you said.

When I am using the development version, will I be notified about the updates as usual on WordPress?

Best and thank you
Wednesday, 08 July 2020 15:03 UTC
wb_weeblrpress
Hi

I tried with DEBUG false and the lines were still there.
There might be other settings either in your wp config file or on your web server that still cause the warnings to be shown. That's not normal for a live site, you should disable those error display.

When I am using the development version, will I be notified about the updates as usual on WordPress?
Yes, updates work normally even when using a dev version.

Best regards
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.