Fatal error: Call to undefined method Google_Client::setLogger() in wp-cont

there is some fatal error and the website is down, even I am unable to access admin dashboard .

Please tell me what to do immediately.

here is the error :

Fatal error: Call to undefined method Google_Client::setLogger() in wp-content/plugins/appointments/includes/gcal/class-app-gcal-api-manager.php on line 48

  • Sajid

    Hi sporty.ajay,
    Hope you are doing good today :slight_smile:

    First of all to bring your website back you need to disable this plugin via FTP/cPanel's Or phpMyadmin FileManager. Go to ../wp-content/plugins/ folder and delete or move appointments outside of plugins folder.

    Now, make sure you have installed the plugin correctly and there are no files get missed during installation process. Its recommended to use our WPMU DEV Dashboard plugin always to install properly and automatically.

    If you are sure that the plugin were installed correctly then there could be a plugin or theme conflict. Make sure you disable other plugins, switch to default theme and then install/activate appointments + plugin again.

    Hope that helps! Feel free to post a reply if you need further assistance :slight_smile:
    Cheers, Sajid

  • Sajid

    Hi sporty.ajay,
    Hope you are doing good today :slight_smile:

    It would not cause any issues until the plugin is activated. Just putting the files in plugins folder have no effect at all.

    Any way go to Dashboard -> Plugins (this will deactivate the plugin permanently) and then deactivate all other plugins on your website, switch to default WordPress theme (TwentySixteen or TwentyFifteen), then go to plugins directory and rename this plugin back to where it was. Now again, go to Dashboard -> Plugins and activate this plugin.

    If you don't get any error message then first activate theme and then activate each plugin one by one and keep checking which one is causing the conflict.

    Hope that helps! Feel free to post a reply if you need further assistance :slight_smile:
    Cheers, Sajid

  • Sajid

    Hi sporty.ajay,
    Hope you are doing good today :slight_smile:

    It would not cause any issues until the plugin is activated. Just putting the files in plugins folder have no effect at all.

    Any way go to Dashboard -> Plugins (this will deactivate the plugin permanently) and then deactivate all other plugins on your website, switch to default WordPress theme (TwentySixteen or TwentyFifteen), then go to plugins directory and rename this plugin back to where it was. Now again, go to Dashboard -> Plugins and activate this plugin.

    If you don't get any error message then first activate theme and then activate each plugin one by one and keep checking which one is causing the conflict.

    Hope that helps! Feel free to post a reply if you need further assistance :slight_smile:
    Cheers, Sajid

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.