Getting fatal error accessing post page or post index.
Hello there,
I'm getting the error below when I try to enter the post page ou the post index. And when I'm edditing a post, I get several warnings saying "updating failed" on saving the post.
Error on the post index page:
Fatal error: Uncaught Error: Call to a member function render() on null in /home4/logbi/public_html/wp-includes/class-wp-block.php:211 Stack trace: #0 /home4/logbi/public_html/wp-includes/blocks.php(799): WP_Block->render() #1 /home4/logbi/public_html/wp-includes/blocks.php(696): render_block(Array) #2 /home4/logbi/public_html/wp-includes/formatting.php(3820): excerpt_remove_blocks('<!-- wp:paragra...') #3 /home4/logbi/public_html/wp-includes/class-wp-hook.php(292): wp_trim_excerpt('<!-- wp:paragra...', Object(WP_Post)) #4 /home4/logbi/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters('', Array) #5 /home4/logbi/public_html/wp-includes/post-template.php(429): apply_filters('get_the_excerpt', '', Object(WP_Post)) #6 /home4/logbi/public_html/wp-content/themes/betheme/includes/content-post.php(286): get_the_excerpt() #7 /home4/logbi/public_html/wp-content/themes/betheme/functions/theme-shortcodes.php(1388): mfn_content_post(Object(WP_Query), 'grid', Array) #8 /home4/logbi/public_html/wp-content/themes/betheme/fu in /home4/logbi/public_html/wp-includes/class-wp-block.php on line 211
Url: https://www.logbi.com.br/artigos/
Error in post page:
Fatal error: Uncaught Error: Call to a member function render() on null in /home4/logbi/public_html/wp-includes/class-wp-block.php:211 Stack trace: #0 /home4/logbi/public_html/wp-includes/blocks.php(799): WP_Block->render() #1 /home4/logbi/public_html/wp-includes/blocks.php(696): render_block(Array) #2 /home4/logbi/public_html/wp-includes/formatting.php(3820): excerpt_remove_blocks('<!-- wp:paragra...') #3 /home4/logbi/public_html/wp-includes/class-wp-hook.php(292): wp_trim_excerpt('<!-- wp:paragra...', Object(WP_Post)) #4 /home4/logbi/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters('', Array) #5 /home4/logbi/public_html/wp-includes/post-template.php(429): apply_filters('get_the_excerpt', '', Object(WP_Post)) #6 /home4/logbi/public_html/wp-content/themes/betheme/functions/theme-head.php(132): get_the_excerpt(Object(WP_Post)) #7 /home4/logbi/public_html/wp-includes/class-wp-hook.php(292): mfn_seo('') #8 /home4/logbi/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters('', Array) #9 /home4/ in /home4/logbi/public_html/wp-includes/class-wp-block.php on line 211
Post url: https://www.logbi.com.br/automacao-de-processos/
I have updated betheme 22.1, wordpress 5.7 and php 7.3.27
Comments
Hello,
Please, turn off all of the plugins, refresh your cache, and check if this issue still appears.
Moreover, if you are using a child theme, please, switch to parent, and recheck it.
Thanks
I did all of this before posting, except the child theme thing because I'm already using the parent one.
Please share with us your PHPINFO file. It's really necessary right now.
If you do not know how to do it, please check this topic:
https://support.muffingroup.com/how-to/how-to-create-phpinfo-php-page/
Thanks