• After updating to v2 it throws to error if I try to open any post.

    WordPress version 5.9.3
    Current plugin: Microsoft Start (version 2.0)
    PHP version 8.0.17

    Error Details
    An error of type E_ERROR was caused in line 70 of the file /nas/content/live/heysocal/wp-content/plugins/microsoft-start/includes/posts.php. Error message: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, stdClass given in /nas/content/live/heysocal/wp-content/plugins/microsoft-start/includes/posts.php:70
    Stack trace:
    #0 /nas/content/live/heysocal/wp-content/plugins/microsoft-start/includes/posts.php(70): array_key_exists(‘partnerMetadata’, Object(stdClass))
    #1 /nas/content/live/heysocal/wp-includes/class-wp-hook.php(307): microsoft_startPosts->ms_post_status_transition_handler(‘publish’, ‘publish’, Object(WP_Post))
    #2 /nas/content/live/heysocal/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #3 /nas/content/live/heysocal/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #4 /nas/content/live/heysocal/wp-includes/post.php(5317): do_action(‘transition_post…’, ‘publish’, ‘publish’, Object(WP_Post))
    #5 /nas/content/live/heysocal/wp-includes/post.php(4577): wp_transition_post_status(‘publish’, ‘publish’, Object(WP_Post))
    #6 /nas/content/live/heysocal/wp-includes/post.php(4789): wp_insert_post(Array, false, true)
    #7 /nas/content/live/heysocal/wp-admin/includes/post.php(426): wp_update_post(Array)
    #8 /nas/content/live/heysocal/wp-admin/post.php(227): edit_post()
    #9 {main}

    • This topic was modified 2 years, 2 months ago by alexhlr.
Viewing 1 replies (of 1 total)
  • Plugin Author microsoftstart


    Hi @alexhlr ,

    Really appreciate using Microsoft Start plugin and reporting this issue with detailed environmental information! We identified it’s due to some incompatibility issue with PHP 8.0, and we’ve released a patch version 2.0.1 to address it. You could upgrade our plugin to the latest version to see if the issue is mitigated.

    Thanks for your feedback! Please let us know if you have further questions. You could sign in your Microsoft Start Partner Hub account via https://www.msn.com/en-us/creator to get more support from our professional team.

    -Microsoft Start Partner Hub Team

Viewing 1 replies (of 1 total)
  • The topic ‘V2 Error’ is closed to new replies.