• Resolved gmariani405

    (@gmariani405)


    Running into tons of these errors. Could you please add a check when getting the option?

    PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/postman-smtp/Postman/PostmanOAuthToken.php on line 45
    PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/postman-smtp/Postman/PostmanOAuthToken.php on line 46
    PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/postman-smtp/Postman/PostmanOAuthToken.php on line 47
    PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/postman-smtp/Postman/PostmanOAuthToken.php on line 48
    PHP Warning:  Undefined array key "SERVER_NAME" in /wp-content/plugins/postman-smtp/Postman/Postman-Mail/PostmanDefaultModuleTransport.php on line 37

    This is in the load() function, and $a is returning false:

    $a = get_option ( PostmanOAuthToken::OPTIONS_NAME );
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @gmariani405,

    I hope you are doing well.

    Reset Post SMTP and configure it again. Make sure that you are using the latest version of Post SMTP.

    Thanks and regards,
    Support Team – WPExperts

    Thread Starter gmariani405

    (@gmariani405)

    Yeah, i went to the settings, hit save again and that did fix it. Not sure what happened there, the logs were full of that error so it’s been broken for months. If anything, i might suggest a fail-safe if that option isn’t found to re-initialize it?

    Plugin Author Saad Iqbal

    (@saadiqbal)

    Hi @gmariani405 ,

    Thanks for the confirmation. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Warning: Trying to access array offset on value of type bool’ is closed to new replies.