• Heya,

    When changing the admin email address in wp-admin/options-general.php, the plugin creates a fatal error in PHP 7.4. I’ve solved my issue by disabling the plugin temporarily, but figured I should probably report it :).

    [05-Aug-2022 07:28:59 UTC] PHP Fatal error:  Uncaught Error: Call to a member function getEmail() on null in /home/example/webapps/site-example/wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanMessage.php:168
    Stack trace:
    #0 /home/example/webapps/site-example/wp-content/plugins/post-smtp/Postman/PostmanWpMail.php(203): PostmanMessage->applyFilters()
    #1 /home/example/webapps/site-example/wp-content/plugins/post-smtp/Postman/PostmanWpMail.php(60): PostmanWpMail->sendMessage()
    #2 /home/example/webapps/site-example/wp-content/plugins/post-smtp/Postman/PostmanWpMailBinder.php(121): PostmanWpMail->send()
    #3 /home/example/webapps/site-example/wp-includes/class-wp-recovery-mode-email-service.php(234): wp_mail()
    #4 /home/example/webapps/site-example/wp-includes/class-wp-recovery-mode-email-service.php(61): WP_Recovery_Mode_Email_Service->send_recovery_mode_email()
    #5 /home/example/webapps/site-example/wp-includes/class-wp-recovery-mode.php(184): WP_Recovery_Mode_Email_Service->maybe_se in /home/example/webapps/site-example/wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanMessage.php on line 168
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support M Haseeb

    (@haseeb0001)

    @dhrrob Hi,

    Hope you are doing good.

    Can you provide me a POST SMTP Diagnostic test report so then I can test this issue on my staging website? (You can find the report in POST SMTP Dashboard)

    Thanks

    Thread Starter Rob Migchels

    (@dhrrob)

    @haseeb0001 Hey!

    I’m afraid the Post SMTP dashboard itself is causing a fatal error. Because of this I am unable to see the diagnostic test report.

    Fatal error: Uncaught ValueError: Unknown format specifier "w" in /home/example/webapps/site-example/wp-content/plugins/post-smtp/freemius/templates/connect.php:221 
    Stack trace: 
    #0 /home/example/webapps/site-example/wp-content/plugins/post-smtp/freemius/templates/connect.php(221): sprintf() 
    #1 /home/example/webapps/site-example/wp-content/plugins/post-smtp/freemius/includes/fs-core-functions.php(57): require('...') 
    #2 /home/example/webapps/site-example/wp-content/plugins/post-smtp/freemius/includes/class-freemius.php(22509): fs_get_template() 
    #3 /home/example/webapps/site-example/wp-includes/class-wp-hook.php(307): Freemius->_connect_page_render() 
    #4 /home/example/webapps/site-example/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() 
    #5 /home/example/webapps/site-example/wp-includes/plugin.php(476): WP_Hook->do_action() 
    #6 /home/example/webapps/site-example/wp-admin/admin.php(259): do_action() 
    #7 {main} thrown in /home/example/webapps/site-example/wp-content/plugins/post-smtp/freemius/templates/connect.php on line 221
    • This reply was modified 3 years, 7 months ago by Rob Migchels.
    Plugin Support M Haseeb

    (@haseeb0001)

    @dhrrob Hi,

    We have fixed freemius issues in our beta version.

    Download this Version 2.1.4 RC 2 and then test and let me know.

    Thanks

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

The topic ‘Fatal PHP error when changing admin email’ is closed to new replies.