• Hello, after installing both Post SMTP and “Office 365 for Post SMTP Extension” I’m getting the following errors. I included the PHP Notice because it may reveal more about the issue than the actual fatal error.

    [25-Jan-2021 07:42:33 UTC] PHP Notice: Undefined index: Class in /___/wp-content/plugins/post-smtp/Postman/Extensions/License/PostmanLicenseManager.php on line 54
    [25-Jan-2021 07:42:33 UTC] PHP Fatal error: Uncaught Error: Class name must be a valid object or a string in /___/wp-content/plugins/post-smtp/Postman/Extensions/License/PostmanLicenseManager.php:64
    Stack trace:
    #0 /___/wp-content/plugins/post-smtp/Postman/Postman.php(201): PostmanLicenseManager->init()
    #1 /___/wp-includes/class-wp-hook.php(287): Postman->on_plugins_loaded(”)
    #2 /___/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #3 /___/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #4 /___/wp-settings.php(409): do_action(‘plugins_loaded’)
    #5 /___/wp-config.php(81): require_once(‘/___…’)
    #6 /___/wp-load.php(37): require_once(‘/___…’)
    #7 /___/wp-admin/admin.php(34): require_once(‘/___…’)
    # in /___/wp-content/plugins/post-smtp/Postman/Extensions/License/PostmanLicenseManager.php on line 64

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi @omegaphase,

    That is odd! Have you tried a fresh re-install? What version of Post SMTP and the extension are you running?

    Can you paste your Post SMTP diagnostics log here?

    Thanks!

    Kind Regards,
    Tim

    I am experiencing the same issue as the OP. I am a new Post SMTP user and have installed in the following order:

    – WordPress 5.6–en_GB
    – Postman SMTP 2.0.20
    – Upload post-smtp-extension-office365.zip version 1.2
    – Activate the Office365 Extension
    – Add Office365 Extension serial number obtained during checkout

    As soon as I add the serial number I receive exactly the same crash, which seems to be related to the $plugin_data['Class'] missing in line 54 of PostmanLicenseManager.php, which ships with Postman SMTP 2.0.20.

    At this stage the whole site is rendered offline. WordPress will not operate normally again until I remove the Office 365 extension from the plugins folder. The issue is then resolved but clearly I am unable to use Post SMTP with a Microsoft 365 tenant.

    This looks like a compatibility issue between Post SMTP 2.0.20 and the Office365 Extension 1.2. I’ll gladly provide more information to help you reproduce this, if you let me know what you need?

    Thanks in advance,

    Ian.

    Hi @sigmacs,

    Thanks for your input. I will ask the developer @yehudah to look at this urgently.

    We appreciate your patience in the meantime.

    Kind Regards,
    Tim

    Hi @sigmacs

    which seems to be related to the $plugin_data[‘Class’] missing in line 54 of PostmanLicenseManager.php, which ships with Postman SMTP 2.0.20.

    What do you mean $plugin_data['Class'] is exactly there on line 54 in v2.0.20

    What do you mean $plugin_data[‘Class’] is exactly there on line 54 in v2.0.20

    Yes, the line exists in the Post SMTP 2.0.20 code. It seems that at runtime 'Class' is not a member of plugin_data or the plugin_data variable has not successfully been initialised before that line of code is reached.

    Any chance you can contact me?
    https://postmansmtp.com/contact

    Any chance you can contact me?
    https://postmansmtp.com/contact

    Message sent via your contact form.

    Hi @sigmacs,

    Can I confirm whether or not you managed to get this sorted with Yehuda, or it was fixed in 2.0.21?

    Kind Regards,
    Tim

    Thread Starter Andrew

    (@omegaphase)

    Hello @tneville & @yehudah – I haven’t heard back either and since I’m the OP I could use an update on this issue. For now we’re using a GMAIL account as a work-around but my client wants to use an email address with the company domain as soon as possible.

    Thanks!
    Andy

    Hi @omegaphase,

    Not sure how this was missed, sorry, but for support with the Office 365 API extension, you must post in these forums. Please create a post there and link to this thread and we’ll see what we can do to help.

    Apologies about that – we are not permitted to support the extensions on WP.org, as per the forum guidelines.

    Kind Regards,
    Tim

    Thread Starter Andrew

    (@omegaphase)

    Hi Tim! That’s a bit confusing as the conversation with Sigma appeared to be support-related and since I’m the OP I thought I was overlooked at receiving the same level of support. I’ll go to the forums. Thanks.

    Hi Andrew,

    Yes – sorry, this thread has become a bit complicated. I can’t close this thread to further replies, but I would recommend that @sigmacs start a new thread here (if not extension related) and they still need support.

    I will ensure we look after your query on the other forums, I’ve just posted a reply now. ??

    Kind Regards,
    Tim

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Fatal error: PostmanLicenseManager (Undefined index: Class)’ is closed to new replies.