Fatal error: Cannot redeclare class SMTP
-
FYI – After updating WordPress to 4.3 and AWPCP to Version 3.5.3.1 I am receiving this error whenever AWPCP attempts to send an email:
Fatal error: Cannot redeclare class SMTP in /home/content/x/y/html/wp-includes/class-smtp.php on line 28This appears to be a conflict with the SendGrid plugin which was updated to Version 1.6.1 at the same time as AWPCP. No errors are generated so far from other plugins/WordPress sending email via SendGrid only AWCP. Since SendGrid provides the transport and gateway for all of our outbound mail from WordPress it cannot be disabled.
From my understanding this seems to be some sort of namespace collision between the two plugins. Can you please look into to this to determine the issue and see if there is a quick fix.
FYI – I will post this in the SendGrid plugin support area as well.
Thanks!
https://ww.wp.xz.cn/plugins/another-wordpress-classifieds-plugin/
The topic ‘Fatal error: Cannot redeclare class SMTP’ is closed to new replies.