• On one of my websites I’m using WP Amelia, and the site started throwing this error as of the latest update of Post SMTP.

    [09-Jun-2022 19:42:19 UTC] PHP Fatal error: Cannot redeclare Clue\StreamFilter\append() (previously declared in /wp-content/plugins/ameliabooking/vendor/clue/stream-filter/src/functions.php:105) in /wp-content/plugins/post-smtp/Postman/Postman-Mail/mailgun/vendor/clue/stream-filter/src/functions.php on line 17

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter stevoli

    (@stevoli)

    I found this post while searching for an answer: https://github.com/mailerlite/mailerlite-api-v2-php-sdk/issues/36

    It looks like you are using version 1.4.0 (2017-08-18) of the mailgun package, and 1.4.1 is available.

    As a quick fix, I changed the namespace in “/Postman/Postman-Mail/mailgun/vendor/clue/stream-filter/src/functions.php” to “namespace Clue\StreamFilter\Postman;” and it appears to be working fine for now.

    The fatal error is basically a namespace conflict between the two plugins.

    Plugin Support M Haseeb

    (@haseeb0001)

    @stevoli Hi,

    Hope you are doing good.

    We are looking into it and we will fix this issue in our upcoming release.

    Thanks

    Plugin Support M Haseeb

    (@haseeb0001)

    @stevoli Issues fixed please update your plugin and test.

    Thanks

    Thread Starter stevoli

    (@stevoli)

    Is it version 2.1.3? I’m still getting the same error:

    [20-Jul-2022 11:52:25 UTC] PHP Fatal error: Cannot redeclare Clue\StreamFilter\append() (previously declared in /wp-content/plugins/ameliabooking/vendor/clue/stream-filter/src/functions.php:105) in /wp-content/plugins/post-smtp/Postman/Postman-Mail/mailgun/vendor/clue/stream-filter/src/functions.php on line 17

    The mailgun changelog file shows that you are still using version 1.4.0 of the mailgun package.

    # Changelog
    
    ## 1.4.0 (2017-08-18)
    Plugin Support M Haseeb

    (@haseeb0001)

    @stevoli

    let me reproduce this issue on my staging websites, will get back to you soon.

    Thanks

    Plugin Support M Haseeb

    (@haseeb0001)

    @stevoli Can you update the plugin to the latest version and test it?

    Thread Starter stevoli

    (@stevoli)

    Updated to version 2.1.6, still same error, still seeing the same version of the mailgun package.

    [29-Aug-2022 13:00:42 UTC] PHP Fatal error: Cannot redeclare Clue\StreamFilter\append() in /wp-content/plugins/post-smtp/Postman/Postman-Mail/mailgun/vendor/clue/stream-filter/src/functions.php on line 17

    Mailgun Package:
    post-smtp/Postman/Postman-Mail/mailgun/vendor/clue/stream-filter/CHANGELOG.md

    # Changelog
    
    ## 1.4.0 (2017-08-18)

    Again, this error is caused by version 1.4.0 conflicting with another plugin, the package needs to be updated to 1.4.1 at least.

    https://github.com/clue/stream-filter/issues/26

    Plugin Support M Haseeb

    (@haseeb0001)

    @stevoli okay, let me reproduce this issue, will get back to you soon with updates.

    Thanks

    Plugin Support M Haseeb

    (@haseeb0001)

    @stevoli Just to update you, we have upgraded Mailgun’s SDK to the latest version in POST SMTP 2.1.7.

    Thanks

    Thread Starter stevoli

    (@stevoli)

    Installed version 2.1.8. Still getting the same error.

    [08-Sep-2022 13:39:06 UTC] PHP Fatal error: Cannot redeclare Clue\StreamFilter\append() in /wp-content/plugins/post-smtp/Postman/Postman-Mail/mailgun/vendor/clue/stream-filter/src/functions.php on line 17

    /post-smtp/Postman/Postman-Mail/mailgun/vendor/clue/stream-filter/CHANGELOG.md is still showing 1.4.0. It doesn’t look like you upgraded that.

    Plugin Support M Haseeb

    (@haseeb0001)

    @stevoli Hi,

    We just identify that this patch didn’t release in version 2.1.8 and we are still working on it, will update you as soon as possible.

    Thanks

    Hi, I have the same error with PostSMTP version 2.1.9.

    [30-Sep-2022 05:11:17 UTC] PHP Fatal error: Cannot redeclare Clue\StreamFilter\append() (previously declared in /wp-content/plugins/wp-fsqm-pro/vendor/clue/stream-filter/src/functions.php:17) in /wp-content/plugins/post-smtp/Postman/Postman-Mail/mailgun/vendor/clue/stream-filter/src/functions.php on line 17

    Please update the plugin with the bug fixed.

    @stevoli thanks for your quick fix.
    namespace is the solution.

    @haseeb0001 Why after 3 months have you still not made this modification to the function.php file?

    /wp-content/plugins/post-smtp/Postman/Postman-Mail/mailgun/vendor/clue/stream-filter/src/functions.php

    Plugin Support M Haseeb

    (@haseeb0001)

    @diegomat

    Hi,

    We are working on Mail Gun SDK upgrades and we will release the updated version soon.

    Thanks for updating us.

    Plugin Support M Haseeb

    (@haseeb0001)

    @diegomat

    The attachment issue is fixed; please update the plugin to 2.4.2, test it, and let me know.

    Thanks

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Another Fatal Error with latest update’ is closed to new replies.