• when i enable your plugin the site and ads load up but the site content doesnt show, its says there some critical error with the site.

    in php error logs it says:
    [19-Mar-2025 22:47:07 UTC] PHP Fatal error: Cannot declare class Mobile_Detect, because the name is already in use in /home/myhost/public_html/mysite.xyz/wp-content/plugins/wp-popups-lite/src/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php on line 217

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Imagerizbit

    (@rizbit)

    sorry ignore this reply

    • This reply was modified 9 months, 2 weeks ago by Imagerizbit.
    Plugin Author ImageDamian

    (@timersys)

    IT seems another plugin on your site is using that library and is not loading it correctly like with composer or some other library helper that avoid these issues. Please try deactivating other plugins one by one to find which one is causing the issue.

    Thread Starter Imagerizbit

    (@rizbit)

    everything works fine once i deactivate yout plugin. are you saying another plugin is conflicting with your plugin?

    Plugin Author ImageDamian

    (@timersys)

    Exactly that. Mobile_Detect is a famous library and we use composer to load it, which prevents conflicts, but it seems other plugin is loading it directly which is creating conflicts. There is no much we can do about it other that find that plugin and tell the developer to load the library correctly

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Site broken when using latest version’ is closed to new replies.