WordPress.org

Ready to get started?Download WordPress

Forums

WP Mobile Detect
Fatal error: (5 posts)

  1. pako69
    Member
    Posted 5 months ago #

    Fatal error: Cannot redeclare class Mobile_Detect in /home/sites/www.mydomain.com/web/wp-content/plugins/wp-mobile-detect/mobile-detect.php on line 35

    :-(

    https://wordpress.org/plugins/wp-mobile-detect/

  2. Updula
    Member
    Posted 5 months ago #

    Me too!

  3. Uwingu
    Member
    Posted 5 months ago #

    Same here. Would love to use it but cannot.

    I have the Blogolife Pro installed. on another WP instance it works for me

  4. pako69
    Member
    Posted 5 months ago #

  5. Nick Wingfield
    Member
    Posted 2 months ago #

    I've also had exactly the same fatal error message.

    In my case it happened after updating my Theme: OneTone 1.2.2 to 1.2.3

    Problem is that the new version of the theme has added a file called Mobile_Detect.php in a folder called includes. I've tried contacting the theme provider but they haven't responded yet.

    Any ideas what I can do other than stick with the earlier version of the theme? I've read the solution above but I'm still none the wiser. For one thing, the example is for Mobble - not WP Mobile Detect.

    Is there some code I could put in my theme to fix things? I'm open to all suggestions ...

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.