Problem with Smart Mobile

  • heinzochsner

    #6812

    Hi,

    As Graphene-Mobile is relying on the Mobile Smart plug-in, I am posting the problem here.

    When trying to activate the Mobile Smart plugin, I get

    Fatal error: Cannot redeclare class uagent_info in /home/httpd/vhosts/theater-lueterkofen.ch/httpdocs/wp-content/plugins/mobile-smart/lib/mdetect.php on line 66.

    My environment:

    WordPress 3.5.1

    Graphene 1.8.2

    Graphene-mobile 1.2.6 (installed but not activated)

    Mobile Smart 1.3.1 (which is stated not comaptible to WP 3.5.1)

    I have WPTouch 1.9.41 installed but not activated when trying to activate Mobile Smart

    Admin

    Syahir Hakim

    #35716

    Try deleting the WPTouch plugin and see if the error still shows.

    heinzochsner

    #35717

    @prasanna: I am not the only one to experience the problem. The Mobile Smart forum is not helpful, the issue waits there for a solution since months.

    @Syahir: I have deleteted the WPTouch files withour success. I don’t want to uninstall the plugin because this would also delete my settings.

    What I do know is that Mobile Smart does not support the latest version of WordPress. I have also used the Mobile WordPress Pack for a theme switcher, however this one does not fully support multiple languages (German in my case).

    Generally, I believe that a paying plugin/theme should not depend on a free plugin where you never know to what extent it continues to be maintained. You might need to reconsider your product strategy in this respect.

    Regards, Heinz …

    Admin

    Syahir Hakim

    #35718
    Quote:
    What I do know is that Mobile Smart does not support the latest version of WordPress. I have also used the Mobile WordPress Pack for a theme switcher, however this one does not fully support multiple languages (German in my case).

    I have the plugin running on several independent sites on the latest WordPress version, and haven’t encountered any issues.

    The error message you quoted in the first post suggests that there is another plugin or theme that’s using the same library to detect mobile devices, which is why I suggested for you to remove the WPTouch plugin (or any other plugins that perform mobile devices detection).

    Quote:
    Generally, I believe that a paying plugin/theme should not depend on a free plugin where you never know to what extent it continues to be maintained. You might need to reconsider your product strategy in this respect.

    Just because it’s free doesn’t mean that it’s not dependable. If I were to incorporate the mobile detection code along with the theme’s codes, you would still be running the same code, just not packaged as a plugin. In this sense it’s no different then many other free libraries like jQuery and its many plugins, except that it adds to the code bloat.

    Requiring the mobile plugin but keeping it separate also presents another advantage – you can use other plugins if you want to. The Mobile Smart plugin is only needed for detecting mobile devices and serving the mobile theme to those devices. I’ve tested the plugin with the theme for compatibility, and didn’t find any issues. However, if it doesn’t work for you, you can use other plugins to achieve the mobile detection, like WP Mobile Detector.

    And because it’s open source and licensed under GPL, if the author decides to abandon it and it doesn’t work anymore with the theme, I can always fork the code and create a different plugin from it that I maintain on my own.

    heinzochsner

    #35719

    Thanks for the reply.

    Quote:
    The error message you quoted in the first post suggests that there is another plugin or theme that’s using the same library to detect mobile devices, which is why I suggested for you to remove the WPTouch plugin (or any other plugins that perform mobile devices detection).

    As I said, I have deactivated the WPTouch but not completely removed it. I have been trying the suggested Mobile Detector the http://wordpress.org/extend/plugins/any-mobile-theme-switcher/ switcher which both did install properly and works fine. So these switchers definitily do not Access a library which is already in use. “Any Mobile Theme Switcher” has the nice feature that I can choose the theme individually for each user Agent. This allows me to choose the Desktop Grapohene theme for iPad and Android tablets.

    Regards, Heinz …

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.