Parse Error V.10.18.5
-
I have deleted and re-installed the plugin but continue to get the following error:
Parse error: syntax error, unexpected ‘Band’ (T_STRING) in /home/nfmhsband/public_html/wp-content/themes/child/functions.php on line 12I am unable to access the plugin settings menu. I have also deleted and replaced the functions.php file referenced in the error several times with no resolution. Unfortunately, I am 1 of 3 who work on this site and this error may be the result of someone attempting to make a change I was unaware of. Any help would be greatly appreciated.
Here are the contents of the PHP file in question: (10 lines only)
<?php
//Change Howdy Text
add_filter(‘admin_bar_menu’,’change_howdy_text_toolbar’);
function change_howdy_text_toolbar($wp_admin_bar)
{
$getgreetings = $wp_admin_bar->get_node(‘my-account’);
$rpctitle = str_replace(‘Howdy’,’Welcome Red Knight ‘,$getgreetings->title);
$wp_admin_bar->add_node(array(“id”=>”my-account”,”title”=>$rpctitle));
}
?>
- The topic ‘Parse Error V.10.18.5’ is closed to new replies.