I have changed my theme’ s functions. php file a little bit and now I have an syntax error. After upgrading to php 5. 4 my widgets file causes: Parse error: syntax error, unexpected ' class' ( T_ CLASS) in / home/ path/ fss- widgets. php on line 1 I' m mystified - several hours research has yie. · 6 posts • Page 1 of 1. Parse error: syntax error, unexpected T_ VARIABLE in / home/ content/ 49/ 6033049/ html/ sweet dreams/ site/ contactformprocess.