Fatal error with PHP 8
-
From time to time Stream appears to kick out a fatal error. Here’s an example from today:
[2023-03-24T17:41:11.392176+00:00] PHP Fatal error: Uncaught ValueError: Unknown format specifier “O” in /nas/content/live/websitename/wp-content/plugins/stream/classes/class-log.php:139#012Stack trace:#012#0 /nas/content/live/websitename/wp-content/plugins/stream/classes/class-log.php(139): vsprintf(‘Updated “conten…’, Array)#012#1 [internal function]: WP_Stream\Log->log(‘wordpressseo’, ‘Updated “conten…’, Array, 245623, ‘wpseo_meta’, ‘updated’, 4)#012#2 /nas/content/live/websitename/wp-content/plugins/stream/classes/class-connector.php(178): call_user_func_array(Array, Array)#012#3 /nas/content/live/websitename/wp-content/plugins/stream/connectors/class-connector-wordpress-seo.php(433): WP_Stream\Connector->log(‘Updated “conten…’, Array, 245623, ‘wpseo_meta’, ‘updated’)#012#4 /nas/content/live/websitename/wp-content/plugins/stream/connectors/class-connector-wordpress-seo.php(353): WP_Stream\Connector_WordPress_SEO->meta(245623, ‘_yoast_wpseo_co…’, ’90’)#012#5 [internal function]: WP_Stream\Connector_WordPress_SEO->callback_added_post_meta(NULL, 245623, ‘_yoast_wpseo_co…’, ’90’)#012#6 /nas/content/live/websitename/wp-content/plugins/stream/classes/class-connector.php(127): call_user_func_array(Array, Array)#012#7 /nas/content/live/websitename/wp-includes/class-wp-hook.php(308): WP_Stream\Connector->callback(43473593, 245623, ‘_yoast_wpseo_co…’, ’90’)#012#8 /nas/content/live/websitename/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)#012#9 /nas/content/live/websitename/wp-includes/plugin.php(517): WP_Hook->do_action(Array)#012#10 /nas/content/live/websitename/wp-includes/meta.php(154): do_action(‘added_post_meta’, 43473593, 245623, ‘_yoast_wpseo_co…’, ’90’)#012#11 /nas/content/live/websitename/wp-includes/meta.php(250): add_metadata(‘post’, 245623, ‘_yoast_wpseo_co…’, ’90’)#012#12 /nas/content/live/websitename/wp-includes/post.php(2522): update_metadata(‘post’, 245623, ‘_yoast_wpseo_co…’, ’90’, ”)#012#13 /nas/content/live/websitename/wp-content/plugins/wordpress-seo/inc/class-wpseo-meta.php(724): update_post_meta(245623, ‘_yoast_wpseo_co…’, ’90’)#012#14 /nas/content/live/websitename/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox.php(809): WPSEO_Meta::set_value(‘content_score’, ’90’, 245623)#012#15 /nas/content/live/websitename/wp-includes/class-wp-hook.php(310): WPSEO_Metabox->save_postdata(245623)#012#16 /nas/content/live/websitename/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)#012#17 /nas/content/live/websitename/wp-includes/plugin.php(517): WP_Hook->do_action(Array)#012#18 /nas/content/live/websitename/wp-includes/post.php(4728): do_action(‘wp_insert_post’, 245623, Object(WP_Post), true)#012#19 /nas/content/live/websitename/wp-includes/post.php(4819): wp_insert_post(Array, false, true)#012#20 /nas/content/live/websitename/wp-admin/includes/post.php(426): wp_update_post(Array)#012#21 /nas/content/live/websitename/wp-admin/post.php(227): edit_post()#012#22 {main}#012 thrown in /nas/content/live/websitename/wp-content/plugins/stream/classes/class-log.php on line 139
The error might not exist when using PHP 7.*
- The topic ‘Fatal error with PHP 8’ is closed to new replies.