Critical error with PHP8
-
Hi, I am trying to update my php to 8 but when I do this I got a critical error with this on screen :
'; $widgets['hero']['after_title'] = ''; return $widgets; } add_filter( 'primer_sidebars', 'alter_primer_widgets' ); /** * Add additional H1 tag to blog page. * * @return mixed Markup for the additional title. */ function primer_additional_blog_h1() { if ( ! is_home() ) { return; } printf( ' %s ', esc_attr__( 'Google blog SEO par RankToPay', 'primer' ) ); } add_action( 'primer_after_header', 'primer_additional_blog_h1', 15 ); add_filter( 'primer_the_page_title_args', function( $args ) { $args['wrapper'] = 'span'; return $args; } ); add_filter( 'primer_the_page_title_args', function( $args ) { $args['wrapper'] = 'span'; $args['atts']['style'] ='font-size: 40px;'; return $args; } ); ?> There has been a critical error on this website.
any idea on how to fix ?
thank you
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Critical error with PHP8’ is closed to new replies.