Fatal error with API and Woo Bookings

  • When on my site today I’m getting an error when trying to update Woo products on a site using the Woo Bookings and the Indexing plugin

    This is the message that is appearing so not sure if it’s a Rank Math issue or Woo

    2020-10-01T15:35:08+00:00 CRITICAL Uncaught Error: Undefined class constant ‘MAJOR_VERSION’ in /home/matttho9/public_html/wp-content/plugins/woocommerce-bookings/vendor/guzzlehttp/guzzle/src/Utils.php:121
    Stack trace:
    #0 /home/matttho9/public_html/wp-content/plugins/woocommerce-bookings/vendor/guzzlehttp/guzzle/src/functions.php(61): GuzzleHttp\Utils::defaultUserAgent()
    #1 /home/matttho9/public_html/wp-content/plugins/google-indexing-api-by-rank-math/vendor/guzzlehttp/guzzle/src/Client.php(194): GuzzleHttp\default_user_agent()
    #2 /home/matttho9/public_html/wp-content/plugins/google-indexing-api-by-rank-math/vendor/guzzlehttp/guzzle/src/Client.php(75): GuzzleHttp\Client->configureDefaults(Array)
    #3 /home/matttho9/public_html/wp-content/plugins/google-indexing-api-by-rank-math/vendor/google/apiclient/src/Google/Client.php(1068): GuzzleHttp\Client->__construct(Array)
    #4 /home/matttho9/public_html/wp-content/plugins/google-indexing-api-by-rank-math/vendor/google/apiclient/src/Google/Client.php(1042): Google_Client->createDefaultHttpClient()
    #5 /ho in /home/matttho9/public_html/wp-content/plugins/woocommerce-bookings/vendor/guzzlehttp/guzzle/src/Utils.php on line 121

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    This seems to be an issue with the Woo Bookings plugin. Have your tried getting in touch with the plugin support to look into the error? If you haven’t please do and let us know how it goes.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Yes I have got in touch and they pointed me to get in touch with you guys as it’s the Index API plugin that’s causing the problem. So at the moment, I’ve removed it as I need to use my website to upload new products and the RM API was causing this error

    Hello,

    We are sorry for this issue.

    Please note that the indexing API is only recommended for Job posting and Livestreaming sites. For all other sites, it only improves and guarantees crawling, not indexing.

    If you don’t mid, we can take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

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

You must be logged in to reply to this ticket.