Title: Errors when WP_debug is enabled
Last modified: February 29, 2024

---

# Errors when WP_debug is enabled

 *  Resolved [ventio](https://wordpress.org/support/users/ventio/)
 * (@ventio)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/errors-when-wp_debug-is-enabled-2/)
 * Thank you for the great plugin, but I’m having a small issue with it. I noticed
   that when I enable WP_debug on my site, I encounter these errors:
 *     ```wp-block-code
       PHP Deprecated:  Calling get_class() without arguments is deprecated in /wp-content/plugins/wp-mail-smtp/vendor_prefixed/google/apiclient/src/Http/REST.php on line 49
       ```
   
 * What could be the cause of these errors? How can they be fixed?

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

 *  [David](https://wordpress.org/support/users/dpinson/)
 * (@dpinson)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/errors-when-wp_debug-is-enabled-2/#post-17464491)
 * Hi there [@ventio](https://wordpress.org/support/users/ventio/),
 * Thanks for reaching out! Which version of WP Mail SMTP are you running? If you
   can let us know, that should help.
 * Thanks!
 *  Thread Starter [ventio](https://wordpress.org/support/users/ventio/)
 * (@ventio)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/errors-when-wp_debug-is-enabled-2/#post-17465872)
 * version 3.11.1
    -  This reply was modified 2 years, 3 months ago by [ventio](https://wordpress.org/support/users/ventio/).
 *  [David](https://wordpress.org/support/users/dpinson/)
 * (@dpinson)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/errors-when-wp_debug-is-enabled-2/#post-17466376)
 * Hi [@ventio](https://wordpress.org/support/users/ventio/),
 * Thanks for the response. I checked in with our developers and it looks like this
   is an issue they are aware of. However, it’s not an issue we’re able to resolve
   as it is coming from a vendor library. Basically, the vendor has to update the
   library to address this.
 * That said, the error is a deprecation notice and won’t cause any issues.
 * I hope that help! Have a great day!

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

The topic ‘Errors when WP_debug is enabled’ is closed to new replies.

 * ![](https://ps.w.org/wp-mail-smtp/assets/icon-256x256.png?rev=1755440)
 * [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin](https://wordpress.org/plugins/wp-mail-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-smtp/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [David](https://wordpress.org/support/users/dpinson/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/errors-when-wp_debug-is-enabled-2/#post-17466376)
 * Status: resolved