USE MOBILE THEME FOR: Mobile + AMP – It causes a problem

Posted in: Newspaper
Post count: 14

Greeting,

After updating wordpress to version 6.4.1 it caused me the following problem:

When I set the mobile + AMP option in the theme, the display on the desktop version is normal, but on the mobile version it gave me a critical error. Today, however, it works normally, but one part of the image in the header is missing and the number of views is missing for the posts. It is activated in the theme so that it is displayed as well as the name of the author and the number of views, but the system simply does not accept it. It’s just that who doesn’t recognize the command to display the number of views below the post.

System status: everything is green and everything is set up well, I even changed the cache plugin that was recommended to me by the topic.

Post count: 14

In my post’s are that picture that missing, but on my homepage that picture is there.

also my hamburger menu is not working (error: Click here – to use the wp menu builder)

Post count: 14

UPDATE:
I’d like to add, that I solve kind of problem, but there still problem when I’m on mobile: in footer I have option (exit mobile version) when I exit my post views shows, when I go to mobile version my post views disappear.

Post count: 35449

Hi,
I’m glad that you manage to resolve most of the problems.
Most of theme were caused by WordPress update, an the easy way to fix it is to also update the theme to v12.6.2
Now related to “in footer I have option (exit mobile version)” this is related to this option – https://i.imgur.com/Mffm8ep.png that should be disable. Also, the amp views are normally counted separately by the mobile view count (usually are display in google analytics).
I hope this will help you!

Post count: 14

Hello, thanks for your reply. However, I found some options where I turned off the redirect AMP plugin.

My next problem is: that the banner that is right below the menu bar is not displayed.

When I turn on only mobile in the theme settings, I get an error: Notice: The amp_has_paired_endpoint function was called incorrectly. Function called while AMP is disabled via amp_is_enabled filter. The service ID “paired_routing” is not recognized and cannot be retrieved. Read Debugging in WordPress for more information. (This message was added in version 2.1.1.) in /home/vigilar1/public_html/wp-includes/functions.php on line 6031.

The only part I need to solve now is to display the banner that I have on the front page, it should be on the mobile version. Is there any way to edit it, because whenever I want to edit the mobile version it looks totally different.

Post count: 14

Actually I find solution. It was problem with Advanced Ads.

Post count: 14

But still need to fix error: The WP_Scripts::localize function was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function. Read Debugging in WordPress for more information. (This message was added in version 5.7.0.) in /home/vigilar1/public_html/wp-includes/functions.php on line 6031

Post count: 35449

Hello,
It is possible that this error to be related to the php version. Can you please do some teste with php7.4 and with php v8? to identify if this is indeed caused by the php version.
Thank you!

Post count: 14

I already tried updating PHP 8, and there is still error.

Post count: 27744

Hi,

What theme version do you have?

Thank you!

Post count: 14

Theme version 12.6.2
Theme database version 12.6.2

Post count: 27744

Hi,

Please get in touch with us via email at contact@tagdiv.com and provide the wp-admin and cPanel access.

Thank you!

Post count: 13

Hi,

I cleared the cache both from the plugin and directly from my host, but the problem doesn’t go away!

Post count: 27744

Hi,

Please provide more details about your issue.

Thank you!

Viewing 14 posts - 1 through 14 (of 14 total)
The forum ‘Newspaper’ is closed to new topics and replies.