Title: Fatal error: Cannot redeclare class SendGrid\Email
Last modified: September 19, 2018

---

# Fatal error: Cannot redeclare class SendGrid\Email

 *  Resolved [wci](https://wordpress.org/support/users/wci/)
 * (@wci)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-class-sendgridemail/)
 * Dear support team,
 * I am trying to activate your hustle plugin to use popups, but while trying to
   activate the plugin I’m getting this error message:
 * > Plugin could not be activated because it triggered a fatal error.
   >  Fatal error:
   > Cannot redeclare class SendGrid\Email in /…/plugins/wordpress-popup/vendor/
   > sendgrid-php/lib/helpers/mail/Mail.php on line 933
 * Looking forward to your help.
 * Best, Alex
    -  This topic was modified 7 years, 10 months ago by [wci](https://wordpress.org/support/users/wci/).
    -  This topic was modified 7 years, 10 months ago by [wci](https://wordpress.org/support/users/wci/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-cannot-redeclare-class-sendgridemail%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Predrag – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support1/)
 * (@wpmudev-support1)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-class-sendgridemail/#post-10703465)
 * Hi Alex,
 * It seems that the plugin is redeclaring the class that’s already declared on 
   your installation so it throws an error.
 * Can you tell me if you’re using any other plugin, or perhaps theme on your site
   that uses SendGrid integration, so we could check this on our end and try to 
   replicate?
 * Cheers,
    Predrag
 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-class-sendgridemail/#post-10737754)
 * Hello [@wci](https://wordpress.org/support/users/wci/)
 * Hope you’re doing well!
 * We’ve not heard from you in a while. I’ve marked this ticket as resolved for 
   now, but if you need anything else at all, we’re here for you, please just reopen
   the ticket or create a new one.
 * Kind regards,
    Nastia

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

The topic ‘Fatal error: Cannot redeclare class SendGrid\Email’ is closed to new 
replies.

 * ![](https://ps.w.org/wordpress-popup/assets/icon-256x256.gif?rev=3446944)
 * [Hustle - Email Marketing, Lead Generation, Optins, Popups](https://wordpress.org/plugins/wordpress-popup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popup/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popup/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-class-sendgridemail/#post-10737754)
 * Status: resolved