Parse Error Issue
-
I am receiving the following error in my child’s theme:
Parse error: syntax error, unexpected ” (T_ENCAPSED_AND_WHITESPACE), expecting ‘-‘ or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/elepha33/public_html/wp-content/themes/skt-white-child/functions.php on line 21
I corrected the error in the child’s functions.php and the now site runs successfully. However I was still receiving the parse error when trying to edit the child’s functions.php using Theme Editor (even though the error had already been corrected).
So I then tried deleting the child theme and just ran on the parent’s theme. Now when I try editing the parent’s function.php file (not the child’s because it was already deleted), I still receive the same parse error. The parse error is showing that it is for the child’s function.php which does not exist anymore.
Where can I find the location of the error file to correct/remove the error flag?
The topic ‘Parse Error Issue’ is closed to new replies.