Title: wp_mail() already declared error | WP 5.8.1 | Redux 4.3.0
Last modified: September 22, 2021

---

# wp_mail() already declared error | WP 5.8.1 | Redux 4.3.0

 *  Resolved [ellmann creative](https://wordpress.org/support/users/ellmanncreative/)
 * (@ellmanncreative)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/wp_mail-error-2/)
 * Error reported by **Postman SMTP**:
 *     ```
       Postman: wp_mail has been declared by another plugin or theme, so you won't be able to use Postman until the conflict is resolved.
       More info that may help - /website-folder/public/wp-includes/pluggable.php:182
       ```
   
 * As suggested in the other threads, commenting out `class-redux-functions-ex.php:
   587` seems to fix the issue.
 * As we understand it, loading `pluggable.php` **early** can cause these issues–
   it should only be loaded _after all other plugins have loaded_ to avoid _exactly_
   this type of issue, as it’s intended to provide default functions _that are not
   provided for by other plugins_. If it’s loaded _too early_, it fills these functions–
   and since PHP doesn’t technically allow for function redeclaration, every other
   plugin that provides them after this moment _will fail to work_.
 * We have tested this extensively both on our staging and live sites – the problem
   only exists (reproducible) when **Redux** is active. No other plugin causes this
   issue.
 * WordPress v5.8.1
    Redux v4.3.0

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

 *  [Chris Lubkert](https://wordpress.org/support/users/clubkert/)
 * (@clubkert)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/wp_mail-error-2/#post-14897940)
 * Hi [@ellmanncreative](https://wordpress.org/support/users/ellmanncreative/) –
   thanks for reporting this issue and for providing the additional detail.
 * We have a fix for this error and expect to update the plugin today (September
   21, 2021).
 * It sounds like you’ve already found a temporary solution. For others that may
   come across this thread, you can take the steps mentioned above by going to `
   redux-core/inc/classes/class-redux-functions-ex.php` and commenting out (or removing)
   line 587: `require_once ABSPATH . '/wp-includes/pluggable.php';`
 * We’ll post an update here when the update is available for download. Sorry for
   the inconvenience.
 * Chris
 *  Plugin Author [Kev Provance](https://wordpress.org/support/users/kprovance/)
 * (@kprovance)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/wp_mail-error-2/#post-14899057)
 * Redux v.4.3.1 has been deployed and it now available. Please update ASAP. THis
   will resolve your issue.
 * Thanks!
 * – Kev
 *  Thread Starter [ellmann creative](https://wordpress.org/support/users/ellmanncreative/)
 * (@ellmanncreative)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/wp_mail-error-2/#post-14901141)
 * Looks like the issue is resolved. Thank you.

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

The topic ‘wp_mail() already declared error | WP 5.8.1 | Redux 4.3.0’ is closed 
to new replies.

 * ![](https://ps.w.org/redux-framework/assets/icon.svg?rev=2889347)
 * [Redux Framework](https://wordpress.org/plugins/redux-framework/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redux-framework/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redux-framework/)
 * [Active Topics](https://wordpress.org/support/plugin/redux-framework/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redux-framework/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redux-framework/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [ellmann creative](https://wordpress.org/support/users/ellmanncreative/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/wp_mail-error-2/#post-14901141)
 * Status: resolved