WordPress.org

Ready to get started?Download WordPress

Forums

SendGrid
[resolved] wp_mail exists (3 posts)

  1. FolioVision
    Member
    Posted 5 months ago #

    Hi, I installed your plugin but it kept saying that wp_mail had already been declared elsewhere. Well, of course it had, wp_mail is actually declared in wp-includes/pluggable.php . That is not a problem, as long as no plugin that is loaded before Sendgrid uses it. But if you have i.e. filled-in plugin active which is heavily using wp_mail, then the pluggable function gets declared for some reason before your plugin could do so. When I renamed your plugin's directory to "0-sendgrid-email-delivery-simplified", all worked as it should. I'm not sure what would be a good solution here. It may as well be that the filled-in plugin is badly coded. Thanks, Karol

    http://wordpress.org/plugins/sendgrid-email-delivery-simplified/

  2. SendGrid INC
    Member
    Plugin Author

    Posted 5 months ago #

    Hi, we added some checking to see if this function was already declared, see similar comment: http://wordpress.org/support/topic/check-for-functions-existence?replies=2#post-5017348. I don't know we can do something else about it. Thanks for the feedback!

  3. SendGrid INC
    Member
    Plugin Author

    Posted 3 months ago #

    Let us know if you have other problems.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.