WP 5.5: ObjectWP_Post could not be converted to string
-
It might be a coincidence that I just upgraded to WordPress 5.5. But I received a WordPress email notification that the system caught an error.
This happened while editing and saving a WordPress post. This likely might be a coincidence that a visitor posted a comment at that time.
Here’s the English translation of the error.
WordPress-Version 5.5
Plugin: Subscribe to Comments Reloaded (Version 200629)
PHP-Version 7.4.8An error of type E_ERROR was caused in line 316 of the file /var/www/vhosts/[DOMAIN REDACTED]/httpdocs/wp-content/plugins/subscribe-to-comments-reloaded/utils/stcr_utils.php Error message: Uncaught Error: Object of class WP_Post could not be converted to string in /var/www/vhosts/[DOMAIN REDACTED]/httpdocs/wp-content/plugins/subscribe-to-comments-reloaded/utils/stcr_utils.php:316 Stack trace: #0 /var/www/vhosts/[DOMAIN REDACTED]/httpdocs/wp-content/plugins/subscribe-to-comments-reloaded/utils/stcr_utils.php(316): preg_replace() #1 /var/www/vhosts/[DOMAIN REDACTED]/httpdocs/wp-content/plugins/subscribe-to-comments-reloaded/wp_subscribe_reloaded.php(1089): stcr\stcr_utils->clean_email() #2 /var/www/vhosts/[DOMAIN REDACTED]/httpdocs/wp-includes/class-wp-hook.php(287): stcr\wp_subscribe_reloaded->delete_subscriptions() #3 /var/www/vhosts/[DOMAIN REDACTED]/httpdocs/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters() #4 /var/www/vhosts/[DOMAIN REDACTED]/httpdocs/wp-includes/plugin.php(478): WP_Hook->do_action() #5 /var/www/vhosts/[DOMAIN REDACTED]/httpdocs/wp-includes/post.php(3078): do_action() #6 /var/www/vhosts/[DOMAIN REDACTED]/httpdocs/wp-includes/revision.php(456): wp_delete_post() #7 /var/www/vhosts/
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘WP 5.5: ObjectWP_Post could not be converted to string’ is closed to new replies.