`endwhile` without a `while` in `templates/content-likes.php`
-
I’ve got PHP syntax checking on as a pre-deploy step in my git workflow and it complains when I try to push the latest version of WTI Like Post up to the server:
remote: - info: checking wp-content/plugins/wti-like-post/templates/content-likes.php ...
remote: PHP Parse error: syntax error, unexpected T_ENDWHILE in - on line 38
remote: - warning: syntax Error Found in wp-content/plugins/wti-like-post/templates/content-likes.php ...From what I can see, you have an
endwhile
without awhile
in yourif
statement and PHP doesn’t care for that.Just thought I’d give y’all a heads up!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘`endwhile` without a `while` in `templates/content-likes.php`’ is closed to new replies.