[Resolved] `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
ifstatement and PHP doesn’t care for that.
Just thought I’d give y’all a heads up!
- The topic ‘[Resolved] `endwhile` without a `while` in `templates/content-likes.php`’ is closed to new replies.