Lots of errors in the mobile version.

Posted in: Newspaper
Post count: 11

Hello! I really need your help, because my mobile pages are getting a lot of errors and I can’t fix them. The menu looks wrong, the posts are misconfigured, it’s ugly.
I need help because that’s all we need to start advertising. We don’t want to advertise with errors. Can you help us?

https://supergospelmais.com

Post count: 27744

Hello,

Please disable the AMP and tagdiv mobile theme plugins. AMP is deprecated as of January 2023-> https://developer.bigcommerce.com/docs/storefront/wordpress/platform-integration/enabling-amp so we don’t longer recommend it.

Using our theme, you can choose from 3 mobile versions
-> mobile responsive => https://www.screencast.com/t/oJ2ShOp47
-> mobile theme plugin => https://forum.tagdiv.com/the-mobile-theme/
-> mobile page => https://tagdiv.com/newspaper-10-3-7-update-brings-customizable-and-fast-mobile-pages/ The option that you need to use.
Suppose you created the mobile pages with tagDiv Composer. In that case, when you install the Mobile Theme plugin, your pages will be overwritten by the plugin (the mobile theme comes with its templates for page, post, category, etc, so your current templates from the desktop theme will get converted to the mobile theme layout, the page content is made without builders in mobile editor => https://www.screencast.com/t/xbgZG8kH also, the options that are provided to edit the mobile theme version are limited (this keeps the things simple)).
This is a video about Responsive Newspaper Theme, AMP & Mobile Theme, Mobile Pages & Templates -> https://www.youtube.com/watch?v=SpGkOnJeNZY.
So, the mobile responsive is what you see when that you select the viewport on phone => https://www.screencast.com/t/matV17hH, so some settings may apply for each viewport(where is the border blue), and others are not(where the border is black).
The mobile page has the mobile templates from Cloud Library => https://www.screencast.com/t/YCcZ8rL8
The Mobile responsive version of the theme and the mobile page editor can be edit with tagDiv Composer, the mobile theme plugin cannot.
For example, you can have the mobile theme plugin activated and use the mobile page/mobile responsive version for the homepage/pages, but for the categories pages/404 page, you can’t use the mobile page/mobile responsive version if you have the mobile theme plugin activated.
So, if you want to design the pages with tagDiv Composer, you can use the mobile page or mobile responsive version.

Thank you!

Post count: 11

Thank you very much! It worked! I just had to turn off AMP!

I was already desperate, because I really liked the theme and everything was going wrong.

Thanks again.

Post count: 5

Hello Anamaria,

I am using a purchased version of Newsmag and in the actual version I’ve read the tagDiv stating
1) “tagDiv Mobile Theme – Make your website lighter and faster on all mobile devices” and
2) “Official AMP for WP – Mobile Theme requires the AMP plugin to give your site the best results”
and here I read your comment, that AMP is deprecated for more than two years now.
I am confused – could you please clarify the situation?

I am asking especially because I am currently receiving more than two millions of error messages per day, all identical:
“PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /var/www/vhosts/…/wp-content/plugins/td-mobile-plugin/Mobile_Detect.php on line 1257”

Thanx!

Post count: 35449

Hi Rase.Admin,

1. The tagDiv Mobile theme plugin is indeed providing better results for mobile users because it is a dedicated plugin for the mobile version, but this is keeping the website layout very basic, on the Newsmag theme, there will not be much difference between desktop and mobile version, but on the Newspaper theme will be like you are on a different webiste.

2. The recommendation is that if you are using the AMP plugin, also use the tagDiv Mobile theme to set the mobile theme layout for the AMP users. Now the thing is that many users have given up on amp and this year it is no longer a boost like it was in the past, and many developers have started to pass off amp as deprecated, it can still be used but is optional.

The messages you received are related to deprecated php code, usualy this happens when you changed from php 7.4 to v8 and there are parts of php code/there are functions that are no longer supported in version 8.

Thank you!

  • This reply was modified 11 months by Calin.
Post count: 5

Hi Calin,

Thank you for the explanation!
Could you please clarify your item #1 as you’re mentioning Newsmag twice in the opposite contexts – I assume one of those should be Newspaper, shouldn’t it?

Do you have any plans / schedule estimates to update these pieces of code that are not supported in PHP v8 any more?

Thanks!

Post count: 35449

Hi,
Yes, sorry, the second time should be the Newspaper. I just edited the above reply.
Soon will be a Newspaper theme update and after that will be a minor update for Newsmag.
Thank you!

Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic.