Title: Theme-Check Plugin syntax error
Last modified: August 19, 2016

---

# Theme-Check Plugin syntax error

 *  Resolved [ejm](https://wordpress.org/support/users/llizard/)
 * (@llizard)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/theme-check-plugin-syntax-error/)
 * I have a customized theme. Since upgrading to WP3.0.5, my wordpress has been 
   plagued with 500 internal server errors. I don’t know if it is my host or my 
   coding. In searching through this forum for a solution, I saw the suggestion 
   to check my theme and so I uploaded the following plugin:
 * [http://wordpress.org/extend/plugins/theme-check/](http://wordpress.org/extend/plugins/theme-check/)
 * After activating the plugin, this is the result I see when going to the ThemeCheck
   page in the admin area:
 * > Parse error: syntax error, unexpected T_STRING in ../wordpress/wp-content/plugins/
   > theme-check/checkbase.php on line 11
 * Is this error because of my theme or because of the plugin? Whichever it is, 
   what can I do to fix it?
 * Thank you.
 * EMorris, WinXP, Firefox3.6.8, WP3.0.5,

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [Ganners](https://wordpress.org/support/users/ganners/)
 * (@ganners)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/theme-check-plugin-syntax-error/#post-1915406)
 * Thats a plugin error. There are a few reasons this could happen I guess, my first
   guess would be its a htaccess problem, so try deleting your .htaccess file and
   see if that helps.
 *  Thread Starter [ejm](https://wordpress.org/support/users/llizard/)
 * (@llizard)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/theme-check-plugin-syntax-error/#post-1915503)
 * Am I correct that you are suggesting to delete the .htaccess file from the wordpress
   folder? As suspected, it made zero difference. The error message remains.
 * It seems to me that any change would have to be to the plugin coding.
 * EMorris, WinXP, Firefox3.6.8, WP3.0.5, MySQL 4.1.22
 *  [Ganners](https://wordpress.org/support/users/ganners/)
 * (@ganners)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/theme-check-plugin-syntax-error/#post-1915523)
 * The deleting of the htaccess file was to solve the 500 error code. To fix the
   plugin, just delete the plugin file from the directory or fix it yourself, i’d
   just remove it though.
 *  Thread Starter [ejm](https://wordpress.org/support/users/llizard/)
 * (@llizard)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/theme-check-plugin-syntax-error/#post-1915531)
 * But I want to use the plugin!
 * Perhaps I need to reword the question…
 * I have now installed a test wordpress – version 3.0.5 with the twenty ten theme
   and all the plugins that I have on my current wordpress. After activating the
   theme-check plugin, this is the result I see when going to the ThemeCheck page
   in the admin area:
 * > Parse error: syntax error, unexpected T_STRING in ../testwordpress/wp-content/
   > plugins/theme-check/checkbase.php on line 11
 * What version of MySQL is required for this plugin to work OR what changes should
   be made to checkbase.php on line 11 so that the plugin works with MySQL4?
 * EMorris, WinXP, Firefox3.6.8, WP3.0.5, MySQL 4.1.22
 *  Thread Starter [ejm](https://wordpress.org/support/users/llizard/)
 * (@llizard)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/theme-check-plugin-syntax-error/#post-1915537)
 * After reading the following [http://codex.wordpress.org/Switching_to_PHP5](http://codex.wordpress.org/Switching_to_PHP5)
   I’m suspecting that the plugin failure is due to my webhost running PHP4 rather
   than PHP5. I have sent a request for support for PHP5. Fingers crossed that the
   request is granted AND that that is the solution….
 *  [Ganners](https://wordpress.org/support/users/ganners/)
 * (@ganners)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/theme-check-plugin-syntax-error/#post-1915549)
 * Yeah that would be it looking at the code, interface objects were only integrated
   in PHP5. I’m sure this will solve it.
 *  Thread Starter [ejm](https://wordpress.org/support/users/llizard/)
 * (@llizard)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/theme-check-plugin-syntax-error/#post-1915611)
 * Yes. I’m pleased to report that upgrading to php5 solves the problem.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Theme-Check Plugin syntax error’ is closed to new replies.

## Tags

 * [customized theme](https://wordpress.org/support/topic-tag/customized-theme/)
 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 2 participants
 * Last reply from: [ejm](https://wordpress.org/support/users/llizard/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/theme-check-plugin-syntax-error/#post-1915611)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
