Article en lien
Fatal error: Uncaught TypeError: F\helpers\Post::getTerm(): Argument #1 ($post) must be of type WP_Post, bool given, called in /home/generations/www/wp-content/themes/generations/inc/blocks/article.php on line 27 and defined in /home/generations/www/wp-content/themes/generations/inc/F/helpers/Post.php:110 Stack trace: #0 /home/generations/www/wp-content/themes/generations/inc/blocks/article.php(27): F\helpers\Post::getTerm(false, 'category') #1 /home/generations/www/wp-content/themes/generations/functions.php(73): include('/home/generatio...') #2 /home/generations/www/wp-content/themes/generations/inc/F/helpers/ACFBlock.php(183): include_template('/home/generatio...', Array) #3 /home/generations/www/wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php(708): F\helpers\ACFBlock::renderTemplate(Array, '', false, 162, Object(WP_Block), Array) #4 /home/generations/www/wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php(610): acf_render_block(Array, '', false, 162, Object(WP_Block), Array) #5 /home/generations/www/wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php(533): acf_rendered_block(Array, '', false, 162, Object(WP_Block)) #6 /home/generations/www/wp-includes/class-wp-block.php(537): acf_render_block_callback(Array, '', Object(WP_Block)) #7 /home/generations/www/wp-includes/blocks.php(2190): WP_Block->render() #8 /home/generations/www/wp-includes/blocks.php(2242): render_block(Array) #9 /home/generations/www/wp-includes/class-wp-hook.php(324): do_blocks('<!-- wp:paragra...') #10 /home/generations/www/wp-includes/plugin.php(205): WP_Hook->apply_filters('<!-- wp:paragra...', Array) #11 /home/generations/www/wp-includes/post-template.php(256): apply_filters('the_content', '<!-- wp:paragra...') #12 /home/generations/www/wp-content/themes/generations/single-post.php(104): the_content() #13 /home/generations/www/wp-includes/template-loader.php(106): include('/home/generatio...') #14 /home/generations/www/wp-blog-header.php(19): require_once('/home/generatio...') #15 /home/generations/www/index.php(17): require('/home/generatio...') #16 {main} thrown in /home/generations/www/wp-content/themes/generations/inc/F/helpers/Post.php on line 110