Support » Fixing WordPress » Creating a theme for myself, getting Parse Error

  • 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’s index.php file?

    Here’s a pastebin of my index.php: http://pastebin.com/ahaFhy43 ,That’s the only file besides style.css in my theme’s folder.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Creating a theme for myself, getting Parse Error’ is closed to new replies.