Home Forums Extensions Office 365 Fatal error: PostmanLicenseManager (Undefined index: Class)

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #60355
    Andrew HuguenardAndrew Huguenard
    Participant

    This is in regard to a report I on the WordPress.org forum. Tim advised that I Should post it here.
    Original post: https://wordpress.org/support/topic/fatal-error-postmanlicensemanager-undefined-index-class/

    I can confirm that this issue still hasn’t been resolved. Steps taken to produce the error:

    Post SMTP installed and activated
    Post SMTP Office365 Extension installed and activated
    Went to Post SMTP in the Left Nav, clicked Extensions, added the key that was generated at checkout, and got the error below.

    [15-Feb-2021 13:40:42 UTC] PHP Notice: Undefined index: Class in /*** webroot ***/wp-content/plugins/post-smtp/Postman/Extensions/License/PostmanLicenseManager.php on line 54
    [15-Feb-2021 13:40:43 UTC] PHP Notice: Undefined index: Class in /*** webroot ***/wp-content/plugins/post-smtp/Postman/Extensions/License/PostmanLicenseManager.php on line 54
    [15-Feb-2021 13:40:56 UTC] PHP Notice: Undefined index: Class in /*** webroot ***/wp-content/plugins/post-smtp/Postman/Extensions/License/PostmanLicenseManager.php on line 54
    [15-Feb-2021 13:40:57 UTC] PHP Notice: Undefined index: Class in /*** webroot ***/wp-content/plugins/post-smtp/Postman/Extensions/License/PostmanLicenseManager.php on line 54
    [15-Feb-2021 13:41:17 UTC] PHP Notice: Undefined index: Class in /*** webroot ***/wp-content/plugins/post-smtp/Postman/Extensions/License/PostmanLicenseManager.php on line 54
    [15-Feb-2021 13:41:31 UTC] PHP Notice: Undefined index: Class in /*** webroot ***/wp-content/plugins/post-smtp/Postman/Extensions/License/PostmanLicenseManager.php on line 54
    [15-Feb-2021 13:41:33 UTC] PHP Notice: Undefined index: Class in /*** webroot ***/wp-content/plugins/post-smtp/Postman/Extensions/License/PostmanLicenseManager.php on line 76
    [15-Feb-2021 13:41:33 UTC] PHP Fatal error: Uncaught Error: Class name must be a valid object or a string in /*** webroot ***/wp-content/plugins/post-smtp/Postman/Extensions/License/PostmanLicenseManager.php:79
    Stack trace:
    #0 /*** webroot ***/wp-content/plugins/post-smtp/Postman/Extensions/License/PostmanLicenseHandler.php(253): PostmanLicenseManager->add_extension(‘post-smtp-exten…’)
    #1 /*** webroot ***/wp-includes/class-wp-hook.php(287): PostmanLicenseHandler->activate_license(”)
    #2 /*** webroot ***/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #3 /*** webroot ***/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #4 /*** webroot ***/wp-admin/admin.php(175): do_action(‘admin_init’)
    #5 {main}
    thrown in /*** webroot ***/wp-content/plugins/post-smtp/Postman/Extensions/License/PostmanLicenseManager.php on line 79
    [15-Feb-2021 13:41:34 UTC] PHP Deprecated: implode(): Passing glue string after array is deprecated. Swap the parameters in /*** webroot ***/wp-content/plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/google/apiclient/src/Google/Service/Resource.php on line 291

    #60358
    Tim NevilleTim
    Moderator

    Hi Andrew,

    Thanks for posting. What version of Post SMTP and the extension are you running?

    Kind Regards,
    Tim

    #60388
    Andrew HuguenardAndrew Huguenard
    Participant

    Yes that would help 🙂

    Office 365 for Post SMTP Extension – Version 1.2
    Post SMTP – Version 2.0.21
    WordPress 5.5.3

    Thanks!

    #60390
    Tim NevilleTim
    Moderator

    Hi Andrew,

    Are you able to update your WP core?

    Kind Regards,
    Tim

    #60392
    Andrew HuguenardAndrew Huguenard
    Participant

    Yes. I deleted the extension from the server, updated WP core to 5.6.1, re-uploaded the extension and upon activation this time (not when adding the key) the site crashed. Error log below:

    [15-Feb-2021 13:40:42 UTC] PHP Notice: Undefined index: Class in /*** webroot ***/wp-content/plugins/post-smtp/Postman/Extensions/License/PostmanLicenseManager.php on line 54
    [15-Feb-2021 13:40:43 UTC] PHP Notice: Undefined index: Class in /*** webroot ***/wp-content/plugins/post-smtp/Postman/Extensions/License/PostmanLicenseManager.php on line 54
    [15-Feb-2021 13:40:56 UTC] PHP Notice: Undefined index: Class in /*** webroot ***/wp-content/plugins/post-smtp/Postman/Extensions/License/PostmanLicenseManager.php on line 54
    [15-Feb-2021 13:40:57 UTC] PHP Notice: Undefined index: Class in /*** webroot ***/wp-content/plugins/post-smtp/Postman/Extensions/License/PostmanLicenseManager.php on line 54
    [15-Feb-2021 13:41:17 UTC] PHP Notice: Undefined index: Class in /*** webroot ***/wp-content/plugins/post-smtp/Postman/Extensions/License/PostmanLicenseManager.php on line 54
    [15-Feb-2021 13:41:31 UTC] PHP Notice: Undefined index: Class in /*** webroot ***/wp-content/plugins/post-smtp/Postman/Extensions/License/PostmanLicenseManager.php on line 54
    [15-Feb-2021 13:41:33 UTC] PHP Notice: Undefined index: Class in /*** webroot ***/wp-content/plugins/post-smtp/Postman/Extensions/License/PostmanLicenseManager.php on line 76
    [15-Feb-2021 13:41:33 UTC] PHP Fatal error: Uncaught Error: Class name must be a valid object or a string in /*** webroot ***/wp-content/plugins/post-smtp/Postman/Extensions/License/PostmanLicenseManager.php:79
    Stack trace:
    #0 /*** webroot ***/wp-content/plugins/post-smtp/Postman/Extensions/License/PostmanLicenseHandler.php(253): PostmanLicenseManager->add_extension(‘post-smtp-exten…’)
    #1 /*** webroot ***/wp-includes/class-wp-hook.php(287): PostmanLicenseHandler->activate_license(”)
    #2 /*** webroot ***/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #3 /*** webroot ***/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #4 /*** webroot ***/wp-admin/admin.php(175): do_action(‘admin_init’)
    #5 {main}
    thrown in /*** webroot ***/wp-content/plugins/post-smtp/Postman/Extensions/License/PostmanLicenseManager.php on line 79
    [15-Feb-2021 13:41:34 UTC] PHP Deprecated: implode(): Passing glue string after array is deprecated. Swap the parameters in /*** webroot ***/wp-content/plugins/post-smtp/Postman/Postman-Mail/google-api-client/vendor/google/apiclient/src/Google/Service/Resource.php on line 291
    [15-Feb-2021 15:37:50 UTC] PHP Notice: Undefined index: Class in /*** webroot ***/wp-content/plugins/post-smtp/Postman/Extensions/License/PostmanLicenseManager.php on line 54
    [15-Feb-2021 15:37:50 UTC] PHP Fatal error: Uncaught Error: Class name must be a valid object or a string in /*** webroot ***/wp-content/plugins/post-smtp/Postman/Extensions/License/PostmanLicenseManager.php:64
    Stack trace:
    #0 /*** webroot ***/wp-content/plugins/post-smtp/Postman/Postman.php(272): PostmanLicenseManager->init()
    #1 /*** webroot ***/wp-content/plugins/post-smtp/Postman/Postman.php(206): Postman->setup_admin()
    #2 /*** webroot ***/wp-includes/class-wp-hook.php(287): Postman->on_plugins_loaded(”)
    #3 /*** webroot ***/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #4 /*** webroot ***/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #5 /*** webroot ***/wp-settings.php(420): do_action(‘plugins_loaded’)
    #6 /*** webroot ***/wp-config.php(81): require_once(‘/*** webroot…’)
    #7 /*** webroot ***/wp-load.php(37): require_once(‘/ho in /*** webroot ***/wp-content/plugins/post-smtp/Postman/Extensions/License/PostmanLicenseManager.php on line 64

    FYI I’m in a SANDBOX environment so there isn’t an immediate urgency, but it would be great to implement this to the LIVE site soon. Thank you!

    #60396
    Tim NevilleTim
    Moderator

    Hi Andrew,

    Okay, could you paste a copy of your Post SMTP diagnostics log? If you want to keep your site info private, please mark the reply as “private” using the relevant checkbox below. Your reply will then only be visible to you, me, and the plugin creator – Yehuda.

    Thanks.

    Kind Regards,
    Tim

    #60398
    Andrew HuguenardAndrew Huguenard
    Participant

    When I click on “Diagnostic Test” I get a fatal error. Unless there’s a separate diagnostics log saved somewhere else?

    [15-Feb-2021 15:49:43 UTC] PHP Fatal error: Uncaught Error: Object of class Closure could not be converted to string in /*** webroot ***/wp-content/plugins/post-smtp/Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:214
    Stack trace:
    #0 /*** webroot ***/wp-content/plugins/post-smtp/Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php(214): implode(‘, ‘, Array)
    #1 /*** webroot ***/wp-content/plugins/post-smtp/Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php(245): PostmanGetDiagnosticsViaAjax->getFilters(‘wp_mail_from’)
    #2 /*** webroot ***/wp-includes/class-wp-hook.php(287): PostmanGetDiagnosticsViaAjax->getDiagnostics(”)
    #3 /*** webroot ***/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
    #4 /*** webroot ***/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #5 /*** webroot ***/wp-admin/admin-ajax.php(184): do_action(‘wp_ajax_postman in /*** webroot ***/wp-content/plugins/post-smtp/Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php on line 214

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Scroll to Top