Error when writing comment on a blog entry
-
When I try to write a comment on a blog entry, I get the following error message:
Warning: strpos() expects parameter 1 to be string, object given in D:\www\www678\de\wp-includes\formatting.php on line 2434 Warning: strtr() expects parameter 1 to be string, object given in D:\www\www678\de\wp-includes\formatting.php on line 2435 Fatal error: Uncaught Error: Object of class WP_Error could not be converted to string in D:\www\www678\de\wp-includes\formatting.php:5304 Stack trace: #0 D:\www\www678\de\wp-includes\formatting.php(5304): preg_replace() #1 D:\www\www678\de\wp-includes\class-wp-hook.php(303): wp_strip_all_tags() #2 D:\www\www678\de\wp-includes\plugin.php(189): WP_Hook->apply_filters() #3 D:\www\www678\de\wp-includes\comment.php(2114): apply_filters() #4 D:\www\www678\de\wp-includes\comment.php(2262): wp_filter_comment() #5 D:\www\www678\de\wp-includes\comment.php(3566): wp_new_comment() #6 D:\www\www678\de\wp-comments-post.php(25): wp_handle_comment_submission() #7 {main} thrown in D:\www\www678\de\wp-includes\formatting.php on line 5304
php Version: 7.4
WordPress Version: 5.8.1
- The topic ‘Error when writing comment on a blog entry’ is closed to new replies.