Cannot redeclare the_title()
-
I was in the middle of updating a post when this error appeared:
Fatal error: Cannot redeclare the_title() (previously declared in /home/xxxxxx/emocrap.com/blog/wp-includes/post-template.php:43) in /home/xxxxxx/emocrap.com/blog/wp-includes/post-template.php on line 723
I can’t access the admin panel to disable any addons, etc.
I checked in Post-template and this is 711 to 723
function the_title($before = '', $after = '', $echo = true) { $title = get_the_title(); if ( strlen($title) == 0 ) return; $title = $before . $title . $after; if ( $echo ) echo $title; else return $title; }[Please post code snippets between backticks or use the code button.]
I’ve never altered this code in my life.
I can’t find much about this other than PHP coding help, but I didn’t code this, any help is appreciated
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Cannot redeclare the_title()’ is closed to new replies.