Receiving this

Receiving this Fatal error: Class 'Google_Service_Calendar' not found in /home/eventrek/public_html/wp-content/plugins/appointments/includes/gcal/class-app-gcal-api-manager.php on line 43

    Luís

    Hi Vince ,

    Hope you're doing well today!

    This is a strange error, have you followed all the instructions to set up the connect Appointments + with Google Calendar as described in Appointments -> Settings -> Google Calendar?

    Can you send us the FTP details of your website so we can investigate this issue further? if Yes, please send it privately through our contact form:

    https://premium.wpmudev.org/contact/#i-have-a-different-question

    Send in:

    Subject: "Attn: Luis Lopes"
    - WordPress admin username
    - WordPress admin password
    - Login url
    - FTP credentials (host/username/password)
    - Link back to this thread for reference
    - Any other relevant urls/information

    Cheers, Luís

    Panos

    Hi Vince ,

    This is a conflict between A+ and the WD Google Analytics plugins.

    Both plugins are using Google Api, A+ mostly for calendar or login and WD Google Analytics for analytics.

    WD Google Analytics is calling the autoloader sooner, but it doesn't include a big number of files that Google API uses for other services, like calendar. At the time A+ calls the google autoloader:
    spl_autoload_register('google_api_php_client_autoload');
    it has already been queued and won't add the rest of the files to be included.

    So when the class Google_Service_Calendar is called it won't be found and it will trough a fatal error as it should.

    Solutions are:
    1. to update the google folder and include all google api files in WD Google Analytics plugin
    2. perhaps try call the autoloader later, since it doesn't include all files, so other plugins don't have this issue

    For now I have commented out the autoloader in file:
    wp-content/plugins/wd-google-analytics/google/autoload.php
    and seems to be working fine

    Cheers!