• Resolved ellmann creative

    (@ellmanncreative)


    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)
  • Hi @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

    (@kprovance)

    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

    (@ellmanncreative)

    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.