Parse error: syntax error, unexpected $end
-
I started seeing several of these messages in my error logs with different plugins. I tracked it down to an issue with php short tags.
Parse error: syntax error, unexpected $end
You can manually edit the plugin files that cause the errors by changing every occurence of ‘<? ‘ to ‘<?php’
You can turn short_open_tag on in php.ini.
short_open_tag = 1You can set it in the .htaccess file
php_flag short_open_tag on
- The topic ‘Parse error: syntax error, unexpected $end’ is closed to new replies.