• I had fatal error redecalre Class Google Model when trying to login with google. Searched from support area seems no one had similar problem. Im not great php coder but i think i fixed problem . I think bug is with APSL PLUGIN DIR. so I changed accesspress-social-login-lite.php on line 42
    Changed this line
    if( !defined( ‘APSL_PLUGIN_DIR’ ) ) {
    define( ‘APSL_PLUGIN_DIR’, plugin_dir_path( __FILE__ ) );
    }
    To

    if( !defined( ‘APSL_PLUGIN_DIR’ ) ) {
    define( ‘APSL_PLUGIN_DIR’, plugins_url() );
    }

    and its working now ?? can you investigate this problem and add on next update?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Access Keys

    (@access-keys)

    Hello there,

    Thank you for writing in.

    We will check and if needed we will update the fix in next plugin update.

    If you like our plugin please motivate our work by giving positive rating as well ??

    Thanks

    Thread Starter joyspark

    (@joyspark)

    Lol i found problem after investigating two plugins conflicting each other cus of same class names. Gmail SMTP plugin also uses Google_Model class in there code

    Thread Starter joyspark

    (@joyspark)

    I tested using autoload.php like other plugin . And changed class name Google Client. Both plugin now working ? Dont know its correct way

    Thread Starter joyspark

    (@joyspark)

    We neeed some update what if other plugins using google api like this?

    Plugin Author Access Keys

    (@access-keys)

    Hello there,

    Thank you for the suggestions we will check and release an update of a plugin.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Class google Model cannot redeclare fatal error’ is closed to new replies.