cabrerahector / wordpress-popular-posts

WordPress Popular Posts - A highly customizable WordPress widget that displays your most popular posts.
https://wordpress.org/plugins/wordpress-popular-posts/
GNU General Public License v2.0
280 stars 82 forks source link

Error with JSON #374

Closed estudiohz closed 7 months ago

estudiohz commented 7 months ago

Describe the problem

We are using the plugin on https://www.nintenderos.com/ It works fine until yesterday that started to fail. Is like is not saving the stadistics

On homepage: wpp.min.js:7 WPP: Couldn't read JSON data

Steps to reproduce it

1.When you visit plugin screen of stadisticd console says: options-general.php:1 Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist. options-general.php:1 Uncaught (in promise) Message port was closed before response send The stadistics are always 0 2. 3.

Expected behavior

Wordpress to last version.

Screenshots

Environment

Database version: 10.5.21-MariaDB-1:10.5.21+maria~deb11-log Versión 6.3.3 WordPress version: 6.4.1 PHP version: 8.0.30

Additional context

cabrerahector commented 7 months ago

Hola @estudiohz,

The issue is being caused by a change introduced with WordPress 6.4 which affects WordPress themes that don't provide HTML5 support.

Please checkout Popular Posts disappeared after WP 6.4 update for more details and a workaround.

cabrerahector commented 7 months ago

Closing this ticket as it should have been fixed by 128b25d.

estudiohz commented 7 months ago

The problem was the html5 supoort Thank hector

El El jue, 9 nov 2023 a las 19:56, Héctor Cabrera @.***> escribió:

Closing this ticket as it should have been fixed by 128b25d https://github.com/cabrerahector/wordpress-popular-posts/commit/128b25d86900a7ce1342f76103c6e0d6817b22be .

— Reply to this email directly, view it on GitHub https://github.com/cabrerahector/wordpress-popular-posts/issues/374#issuecomment-1804405724, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATFXXWJTVSFXINOCZ3NDUTYDURMTAVCNFSM6AAAAAA7EPQNUWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBUGQYDKNZSGQ . You are receiving this because you were mentioned.Message ID: @.***>