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,
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!
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.
Hi Mario,
You will have to modify the condition at line 654, like this -> http://screencast.com/t/rixpS8yTaS
Thanks.
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
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!