Mobile Theme plugin triggers a Fatal Error

Posted in: Newspaper
Post count: 14

Plugin could not be activated because it triggered a fatal error.

Cannot redeclare class Mobile_Detect in /home/mummysginfund/public_html/wp-content/plugins/td-mobile-plugin/Mobile_Detect.php on line 29

I am using a child theme.

Post count: 23312

Hello nucreative,

First of all, please ensure that you are correctly installed the new update via FTP because this method is most safety way in this regard. Also, please ensure that you are using the latest version of Visual Composer (4.11.2), Social Counter (4.0) and also, you have to use the latest version of child theme that comes bundled with our theme. Try to add all your customization from your old child theme to the new child theme and check the results.

Hope this helps and let us know how it goes!

Thanks.

Post count: 100

Fatal error: Cannot redeclare class Mobile_Detect in …/public_html/wp-content/plugins/td-mobile-plugin/Mobile_Detect.php on line 28

This happened after upgrading from v6.x to latest v7.x.
Atm it seems that everything is working except mobile theme, and the main logo disappeared.

I will try to replicate issue(s) building everything from scratch and report here.

Post count: 100

Hi,

plugin activation was successful. Issue – unknown. After deactivation of all plugin, I enabled mobile theme plugin. After that I enabled all the other plugins 1 by 1. There were no errors.
The general solution is to deactivate all plugins, activate the mobile theme plugin and then activate all the other plugins.
bye

Post count: 23312

Hello matijakurusic,

I am glad that you have solved your problem. If you have another problem with the theme, please submit them to another topic.

Thanks.

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