#246 – PHP 8 does not work

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.
Tuesday, 14 December 2021 17:08 UTC
dragonfroid
 Just for information, when I upgrade to PHP 8 I have a big bug on my sites. AMP does not work anymore but not only. Is it a conflict with your plugin or not? Anyway I downgraded to PHP 7.x.

Good continuation !
Tuesday, 14 December 2021 17:10 UTC
wb_weeblrpress
Hi

What happens exactly? if you set WP_DEBUG to true, do you have any error message showing?

Best regards
 
Tuesday, 14 December 2021 17:12 UTC
dragonfroid
In fact I couldn't log in at all or enter my Wordpress interface!
My login page was crossed.
Without logging in, I could access the normal pages but not the AMP pages.
Finally, my host sent me an email telling me the errors.
Tuesday, 14 December 2021 17:14 UTC
dragonfroid
Here the message of Wordpress (in french sry) :

Bonjour !



Depuis WordPress 5.2, une fonctionnalité native permet de détecter si une extension ou un thème cause une erreur fatale sur votre site, et vous notifie avec cet e-mail automatique.





Ici, WordPress a trouvé une erreur avec l’une de vos extensions, « weeblrAMP ».



Commencez par visiter votre site (https://untelephone.com/) pour vérifier s’il y a des problèmes visibles. Ensuite, visitez la page où une erreur a été relevée (https://untelephone.com/wp-admin/edit.php) et vérifiez si des problèmes sont visibles.



Veuillez contacter votre hébergeur pour une assistance concernant la résolution de ce problème.



Si votre site semble cassé ou si vous ne pouvez pas accéder à votre tableau de bord normalement, WordPress dispose maintenant d’un « mode de récupération ». Cela vous permet de vous connecter en sécurité sur votre tableau de bord afin de chercher la source du problème.
Tuesday, 14 December 2021 17:19 UTC
wb_weeblrpress
Hi

OK, I will run some additional tests and report back.

Best regards

 
Tuesday, 14 December 2021 17:21 UTC
dragonfroid
GL !
:)
Tuesday, 14 December 2021 17:23 UTC
dragonfroid
// It was the same thing with another of my site (desgeeksetdeslettres.com) //
Tuesday, 14 December 2021 18:22 UTC
wb_weeblrpress
Hi

I just uploaded a new version that should fix PHP compatibility. You can download it from the development versions download area.

Let me know how it goes!

Best regards

 
Tuesday, 14 December 2021 20:33 UTC
dragonfroid
I just tested for two other sites ( https://desgeeksetdeslettres.com/jeux-medias/quest-ce-qui-fait-un-bon-jeu-video/amp/ ), and indeed your fix seems to correct the problem, everything works fine. Thank you!
Thursday, 16 December 2021 12:01 UTC
wb_weeblrpress
Hi

You're welcome! Closing this ticket now, feel free to open a new one as needed. If you do so, please mention this ticket number in the new one.

If you created any superadmin account for us, be sure to delete or block it now to avoid unnecessary risk in the future.


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.