Wordpress: SCREAM: Error suppression ignored for, Parse error: syntax error,


Staff member
Ok so I'm creating a theme for myself, and even when I use the most basic of loops, I still get a php error:

( ! ) SCREAM: Error suppression ignored for
( ! ) Parse error: syntax error, unexpected end of file in C:\wamp\www\newsite\blog\wp-content\themes\cakes\index.php on line 121
Call Stack
#   Time    Memory  Function    Location
1   0.0015  142656  {main}( )   ..\index.php:0
2   0.0023  144760  require( 'C:\wamp\www\newsite\blog\wp-blog-header.php' )    ..\index.php:19
3   0.3452  9323760 require_once( 'C:\wamp\www\newsite\blog\wp-includes\template-loader.php' )  ..\wp-blog-header.php:16

This doesn't happen with the twentyeleven theme, or any other theme I use, so I know it's not a problem with the wordpress setup. I just have no idea what it is, do I need to reference anything in my theme files?

Here's a pastebin of my index.php: <a href="http://pastebin.com/ahaFhy43" rel="nofollow">http://pastebin.com/ahaFhy43</a> ,That's the only file besides style.css in my theme's folder.

EDIT: solved, simply had to add this to the top of my template:

/* Short and sweet */
define('WP_USE_THEMES', false);