Parse Error in my functions.php file – I can't figure out how to fix it …
-
This site was working perfectly fine yesterday and even this morning … I edited the functions.php file to exclude a couple pages from the vertical menu — which is line 2309 in the file and there is no syntax error in that line — but as soon as I made that change I’m getting the following error:
Parse error: syntax error, unexpected T_STRING, expecting ‘)’ in /home/content/24/3661724/html/margaretmlynch/wp-content/themes/theme1/functions.php on line 15
I reversed the change I made – but still the error occurs, so clearly it isn’t because of that change – but I can’t seem to figure out why the error is occurring. Here is the code in question:
$artThemeSettings = array( 'menu.showSubmenus' => true, 'menu.homeCaption' => "Home", 'menu.showHome' => true, 'menu.topItemBegin' => "<span class="l"></span><span class="r"></span><span class="t">", 'menu.topItemEnd' => "</span>", 'menu.source' => "Pages", 'vmenu.showSubmenus' => false, 'vmenu.simple' => false, 'vmenu.source' => "Pages", );
As far as I can see nothing is left “open” and there isn’t anything wrong with that part of the code – and since it was working earlier I am completely stumped as to why it would suddenly not work.
Can anyone see what I’m not seeing here?
Thank you!!!!
Liz
- The topic ‘Parse Error in my functions.php file – I can't figure out how to fix it …’ is closed to new replies.