v2.0 Error
-
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.17Error 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}
thrown`
- The topic ‘v2.0 Error’ is closed to new replies.