Fatal error on activation?

Has anyone come across this fatal error on activation using Scroll Kit plugin version 0.106?

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

Fatal error: Cannot redeclare class mobile_detect in /nas/wp/www/staging/account/wp-content/plugins/scrollkit/mobile-detect.php on line 35
0 votes

3 answers

1238 views

ANSWER



Ahh... Found it.  It was the "Modal Dialog" plugin if anyone is curious.  Its also including the Mobile_Detect.php library. 

0 votes



Hi Kate,

That's what I thought as well. I've been combing through the theme and plugins looking something else which might be using it or with a similarly named class.  I haven't found it yet. 

0 votes



The plugin uses the mobile-detect library as a dependency. Do you by any chance already have the mobile-detect plugin http://wordpress.org/plugins/wp-mobile-detect/ installed?

0 votes