[Resolved] Parse error: syntax error, unexpected T_ENDWHILE in loop.php on line 168
Kind’ve an oddball support ticket.
I have made a child theme off twenty ten, every things been going great.
Then I test my search bar. It works correctly when there are no relevant search results, ie it takes me to the search.php page with correct styling/formatting.
The problem I have is when there are supposed to be results, ie the title of a post, I get this error.
I checked it out on a syntax checker and it said the same thing. Line 168 in loop.
I removed that line as I did not see any code structure errors, the page worked, but didn’t show up results.
Can anyone let me know whats going on? :}
really appreciate it. btw the default loop.php I’m using is from the twenty-ten theme. Code below.
- The topic ‘[Resolved] Parse error: syntax error, unexpected T_ENDWHILE in loop.php on line 168’ is closed to new replies.