Plugin Contributor
Codeart
(@codeart)
Hello nigdowser,
Are you using some other mobile redirect plugin, or maybe your theme has that built in?
This error code you posted shows us that the same class has been called once before, and we never experienced this issue so this might be because some other plugin is using it.
I would appreciate if you could help us fix the problem as i am sure someone else might have the same issue.
Its a simple fix but would like to know which plugin the conflict is with.
If you are comfortable with changing some code yourself, then please go to /wp-content/plugins/google-mp3-audio-player/index.php
At line 33 change
require_once('Mobile_Detect.php');
to
if( !class_exists('Mobile_Detect') ) {
require_once('Mobile_Detect.php');
}
That should fix your problem for now.
Thanks for the response. it works now.
I can send you a list of the active plugins I have which might be of use. I have no idea which ones would cause the conflict, but perhaps you would know better by seeing them….
Hi. I’m having the same problem. Have tried updated the index.php file but am just getting syntax errors. Is it possible to access an index file with the correct code please?
Thanks
Plugin Contributor
Codeart
(@codeart)
Hi bjarman,
All that needs to be done is the line 33 (just that line) replaced with the code above.
If you do it right you shouldnt get syntax errors.
Anyway here is link to an updated index file.
https://dl.dropboxusercontent.com/u/10156810/index.php
Thank you. That worked fine. Not sure why but when I opened the original index.php file each alternate row was blank. The revised file is good thouh. Thank you
Resolved.