Mobile Theme Problems.

Posted in: Newspaper
Post count: 29

Good Morning Support,

I just upgraded to the latest version of the News Paper Theme. Since doing so, the mobile theme is doing what expected. When browsing our website on mobile devices, the theme keeps switching from responsive to mobile theme ? I am using WP Super Cache, however this has never caused a problem in earlier versions. We are also using the latest version of WordPress. Can someone shed some light on this ?

Thanks,

Post count: 23312

Hi MarioBoriassi,

For other users who access this topic, please notice that after several investigations in this regard have concluded that this type of issue come from WP Supercache which is not fully compatible with WordPress 4.6 and that’s why this problem occur. We hope that WP Super cache plugin will be updated it as soon as possible and that problem will be fixed. Notice that this issue appears and on Mobile Theme from Jetpack when the caching plugin is active.
Please notice that we have reported this issue to Jetpack and we are waiting for an update from them. Until that, you should use our workaround posted here -> https://github.com/Automattic/wp-super-cache/issues/132
Also, please try the theme without any untested plugins, leave just Visual Composer to active, clear all your caches and install only the plugins that come bundled with the theme and rule out any conflicting in the theme.

Thanks for the message and sorry for the inconvenience!

Post count: 29

Thank-you for the update.

I looked at the workaround and I have an additional question.

In the wp-super-cache/wp-cache-phase1.php there are two occurrences of :

if ( function_exists( “apply_filters” ) ) {

Do both need to be changed ?

Thank-you.

Post count: 23312

Hi Mario,

You will have to modify the condition at line 654, like this -> http://screencast.com/t/rixpS8yTaS

Thanks.

Post count: 29

Thank-you kindly for the help.

Post count: 48

I am not good at codes , but upon thorough reading this is my understanding ,, confirm if I am right or wrong …”My understanding after reading is that …I need to edit the super-cache/wp-cache-phase1.php and change(Clear and replace) the file at line 654 from .. if ( function_exists( “apply_filters” ) ) {.. TO ….if ( function_exists( “apply_filters” ) && has_filter( ‘supercache_filename_str’ )) {

Please confirm or otherwise before I do the changes …Thanks in advance

Post count: 23312

Hello tonikusi4,

Please try again to make these changes as above indications because all users who have had this problem was solved by following these steps. Clear all your caches and check the results.

Thanks for your understanding!

Post count: 48

Thanks , It solved the problem

Post count: 1

hey @catalin

I did the changes in accord with your information – fiel wp-cache-phase1.php, but nothing happens.
I updated my wp to the latest version – wp 4.7 & I don’t use Jetpack, in case that this info makes any sense.
so, any suggestions? thank you

Post count: 23312

Hello RaresI,

Please try to make a new clean install from scratch with the latest version of the theme and install only the plugins that come bundled with the theme packet and rule out any conflicting plugins. Please notice that this issue has been resolved, and it should work fine. First of all, please make a full backup to your database to be safe. Also, please ensure that you have updated your theme via FTP because this is the surest method in this regard.

Hope this helps and let us know how it goes!

Thanks for the message!

Post count: 68
Viewing 11 posts - 1 through 11 (of 11 total)
The forum ‘Newspaper’ is closed to new topics and replies.