Cannot redeclare class Mobile_Detect
-
I’m using another plugin that detects the mobile device and when I want to activate the wp mobile detect plugin, I get:
Fatal error: Cannot redeclare class Mobile_Detect in /home/….plugins/wp-mobile-detect/mobile-detect.php on line 29
Could you addapt the code so that the plugin checks first if the Mobile_Detext class already exists or not? So it won’t declare it for the second time?!
THx!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Cannot redeclare class Mobile_Detect’ is closed to new replies.