Hi
Since I updated the 12.5 my homepage is showing incorrectly
But pages 1 plus deep are showing correctly https://livingunrefined.com/100-crazy-things-to-do-before-you-die/
Hello,
I just checked, and it is displayed well -> https://i.imgur.com/SDPm7Y6.jpg
It seems you solved it.
Have a great day!
hi it is randomly doing it again now, https://livingunrefined.com/
After working for a while, I haven’t updated anything for the last week
Hi,
I checked, and looks well -> https://i.imgur.com/cqQGB4W.jpg Pleas check your error log.
Thank you!
Hi, this is all I got from the error log:
[31-Aug-2023 22:02:30 UTC] PHP Notice: Function amp_is_available was called incorrectly. amp_is_available() (or amp_is_request(), formerly is_amp_endpoint()) was called too early and so it will not work properly. WordPress is currently doing the shutdown hook. Calling this function before the wp action means it will not have access to WP_Query and the queried object to determine if it is an AMP response, thus neither the amp_skip_post() filter nor the AMP enabled toggle will be considered. It appears the plugin with slug webp-express is responsible; please contact the author. Please see Debugging in WordPress for more information. (This message was added in version 2.0.0.) in /home/livingun/public_html/wp-includes/functions.php on line 5905
Hello @rickyrt !
I recommend you to use this plugin: https://wordpress.org/plugins/imagify/
I suggest you do not use AMP without mobile theme plugin.
Thank you!
Hi
No it is happening again with the webpexpress plugin still disabled.
I have checked the error log only the following 2 errors.
[31-Aug-2023 22:24:43 UTC] PHP Warning: exif_read_data(image.jpeg): Incorrect APP1 Exif Identifier Code in /home/livingun/public_html/wp-admin/includes/image.php on line 856
[31-Aug-2023 22:31:04 UTC] PHP Warning: exif_read_data(image.jpeg): Incorrect APP1 Exif Identifier Code in /home/livingun/public_html/wp-admin/includes/image.php on line 856
Is the Newspaper theme compatible with the latest version of PHP?
its doing it again, this time i have pasted the screenshot below. No erros in the debug file
Also intermittent problems with AMP pages being displayed on desktop
@bettina but I wasn’t using a caching plugin at the time this error started. I am now using WP Supercache with the recommend settings.
I have had to turn off AMP on the homepage because there seems no solution to the error.
But this problem is now intermittently happening on other pages showing AMP on desktop.
https://livingunrefined.com/100-crazy-things-to-do-before-you-die/
If it is a caching problem – what is the solution?
Hello @rickyrt !
This is not AMP, but the mobile theme which has the same layout.
We have 3 options for mobile versions that you can use:
1. Responsive version: A responsive version of your website looks similar to the desktop version. TagDiv Composer is used to edit the page.Click on the mobile viewport: https://www.screencast.com/t/XDQJedlggSB. There, you can see your mobile version and edit or adjust the elements to look better.
2. Mobile pages: https://tagdiv.com/newspaper-10-3-7-update-brings-customizable-and-fast-mobile-pages
3. Mobile theme plugin: The Mobile Theme is a performance-optimized theme included in the main Newspaper theme that only loads on mobile devices. It comes with its own templates and designs for pages, posts, categories, etc., so your current templates from the desktop theme will get converted to the mobile theme layout. Please see https://forum.tagdiv.com/the-mobile-theme/ and https://forum.tagdiv.com/mobile-theme-introduction/ for more information.
A full explanation is here: https://www.youtube.com/watch?v=SpGkOnJeNZY
If you need to use the mobile version 1 or 2, then you need to uninstall the Mobile Theme plugin and AMP.
Thank you!