Problem with new theme version

  • 007me

    #10244

    Hello Support,

    I’m using Nirvana 1.2.1 as my desktop theme.

    And I’m using Graphene Mobile NEO as my mobile theme with version 1.8.3

    When I’ve tried to upgrade to latest version 1.8.5 I’ve got the following error and my site won’t come up.

    Fatal error: Cannot redeclare tgmpa() (previously declared in /home/content/91/3597091/html/blog3/wp-content/themes/graphene-mobile-neo/vendors/tgm-plugin-activation/class-tgm-plugin-activation.php:965) in/home/content/91/3597091/html/blog3/wp-content/themes/nirvana/includes/tgm.php

    on line

    1979

    This error is now on my test blog here:

    http://www.udiburg.com/blog3/

    WordPress version is 4.3.1

    What could be the problem?

    Thanks,

    Udi

    Admin

    Syahir Hakim

    #45704

    Basically Nirvana is trying to load the same plugin that GM Neo has already loaded. We’ve added a check on GM Neo side, but this issue will still happen since the error message you quoted above suggests that the Nirvana is loaded after GM Neo is loaded.

    Try asking the Nirvana developers to add a check before loading TGMPA.

    if ( ! class_exists( 'TGM_Plugin_Activation' ) ) require_once( 'includes/tgm.php' );

    007me

    #45705

    Well, they did make a change that fix it.

    Thanks Syahir.

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

You must be logged in to reply to this topic.