Title: Fatal error: Uncaught Error
Last modified: June 22, 2018

---

# Fatal error: Uncaught Error

 *  Resolved [wtblack](https://wordpress.org/support/users/wtblack/)
 * (@wtblack)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-15/)
 * Call to undefined method Composer\Autoload\ClassLoader::setClassMapAuthoritative()
   in /home2/babyfac9/public_html/wp-content/plugins/wp-mail-smtp/vendor/composer/
   autoload_real.php:38 Stack trace: #0 /home2/babyfac9/public_html/wp-content/plugins/
   wp-mail-smtp/vendor/autoload.php(7): ComposerAutoloaderInitbd625bfb904527ebcdc364a59295e538::
   getLoader() #1 /home2/babyfac9/public_html/wp-content/plugins/wp-mail-smtp/src/
   Providers/Gmail/Auth.php(63): require(‘/home2/babyfac9…’) #2 /home2/babyfac9/
   public_html/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Auth.php(51):
   WPMailSMTP\Providers\Gmail\Auth->include_google_lib() #3 /home2/babyfac9/public_html/
   wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Options.php(112): WPMailSMTP\
   Providers\Gmail\Auth->__construct() #4 /home2/babyfac9/public_html/wp-content/
   plugins/wp-mail-smtp/src/Admin/Pages/Settings.php(177): WPMailSMTP\Providers\
   Gmail\Options->display_options() #5 /home2/babyfac9/public_html/wp-content/plugins/
   wp-mail-smtp/src/Admin/Area.p in /home2/babyfac9/public_html/wp-content/plugins/
   wp-mail-smtp/vendor/composer/autoload_real.php on line 38

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

 *  Thread Starter [wtblack](https://wordpress.org/support/users/wtblack/)
 * (@wtblack)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-15/#post-10427187)
 * Apparently my SSL certificate was not auto-renewed. Now I am trying to get WP
   Mail SMTP working properly again and I do not have the button to allow Gmail 
   to send my emails.
 * I have tried deactivating the plug in, deleting the plug in and reinstalling /
   activating, but the settings are just as they were before deleting WP Mail SMTP.
 *  Plugin Author [Slava Abakumov](https://wordpress.org/support/users/slaffik/)
 * (@slaffik)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-15/#post-10427759)
 * We do not remove settings when users deletes the plugin, because they are constantly
   coming back and don’t want to lose settings.
 * What does Email Test page tell you after you try to send a test email?
 *  Thread Starter [wtblack](https://wordpress.org/support/users/wtblack/)
 * (@wtblack)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-15/#post-10428434)
 * This is what it says at the bottom of the setup where I should be able to “allow
   Google” Button:
 * Fatal error: Uncaught Error: Call to undefined method Composer\Autoload\ClassLoader::
   setClassMapAuthoritative() in /home2/babyfac9/public_html/wp-content/plugins/
   wp-mail-smtp/vendor/composer/autoload_real.php:38 Stack trace: #0 /home2/babyfac9/
   public_html/wp-content/plugins/wp-mail-smtp/vendor/autoload.php(7): ComposerAutoloaderInitbd625bfb904527ebcdc364a59295e538::
   getLoader() #1 /home2/babyfac9/public_html/wp-content/plugins/wp-mail-smtp/src/
   Providers/Gmail/Auth.php(63): require(‘/home2/babyfac9…’) #2 /home2/babyfac9/
   public_html/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Auth.php(51):
   WPMailSMTP\Providers\Gmail\Auth->include_google_lib() #3 /home2/babyfac9/public_html/
   wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Options.php(112): WPMailSMTP\
   Providers\Gmail\Auth->__construct() #4 /home2/babyfac9/public_html/wp-content/
   plugins/wp-mail-smtp/src/Admin/Pages/Settings.php(177): WPMailSMTP\Providers\
   Gmail\Options->display_options() #5 /home2/babyfac9/public_html/wp-content/plugins/
   wp-mail-smtp/src/Admin/Area.p in /home2/babyfac9/public_html/wp-content/plugins/
   wp-mail-smtp/vendor/composer/autoload_real.php on line 38
 *  Thread Starter [wtblack](https://wordpress.org/support/users/wtblack/)
 * (@wtblack)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-15/#post-10428437)
 * Same Error message when I try to do the test email
 *  Plugin Author [Slava Abakumov](https://wordpress.org/support/users/slaffik/)
 * (@slaffik)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-15/#post-10429640)
 * [@wtblack](https://wordpress.org/support/users/wtblack/)
    Please share here a
   list of activated plugins (ideally, with their version numbers). I need this 
   for investigations.
 *  Thread Starter [wtblack](https://wordpress.org/support/users/wtblack/)
 * (@wtblack)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-15/#post-10430723)
 * Acme Demo Setup
    Advanced Order Export For WooCommerce Auto Terms of Service 
   and Privacy Policy Bluehost CSS and JavaScript Toolbox Jetpack by WordPress.com
   OptinMonster API ThemeGrill Demo Importer TinyMCE Advanced WooCommerce WooCommerce
   PayPal Express Checkout Gateway WooCommerce PDF Invoices & Packing Slips WooCommerce
   Services WP File Manager WP Mail Logging WP Mail SMTP WPForms Lite YITH WooCommerce
   Wishlist
 *  Plugin Author [Slava Abakumov](https://wordpress.org/support/users/slaffik/)
 * (@slaffik)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-15/#post-10435429)
 * [@wtblack](https://wordpress.org/support/users/wtblack/)
    Thanks, that helped
   a lot. This error will be fixed in 1.3.0.
 *  Thread Starter [wtblack](https://wordpress.org/support/users/wtblack/)
 * (@wtblack)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-15/#post-10436805)
 * You know when that will be? I am getting no emails currently.
 *  Plugin Author [Slava Abakumov](https://wordpress.org/support/users/slaffik/)
 * (@slaffik)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-15/#post-10436829)
 * The plan is this week.
 *  Thread Starter [wtblack](https://wordpress.org/support/users/wtblack/)
 * (@wtblack)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-15/#post-10442664)
 * What is the conflict that’s causing the error and not allowing me to have the“
   Allow Gmail” button for the plug in to access my Gmail?

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

The topic ‘Fatal error: Uncaught Error’ 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/)

 * 10 replies
 * 2 participants
 * Last reply from: [wtblack](https://wordpress.org/support/users/wtblack/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-15/#post-10442664)
 * Status: resolved