phantom309 Posted July 11, 2013 Share Posted July 11, 2013 I get This error randomly not all the time Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ')' in /home/souths31/public_html/cache/class_index.php on line 71 How do I fix it I Also Attached the File that it say's to go to But I do not know what to look for class_index.php Link to comment Share on other sites More sharing options...
vekia Posted July 11, 2013 Share Posted July 11, 2013 it's realted to the cache system that you use in your store, can you say something when this error appear? maybe only on certaing pages? etc.? Link to comment Share on other sites More sharing options...
phantom309 Posted July 11, 2013 Author Share Posted July 11, 2013 This generally happens when I am adding products in admin then when I go to preview the product Link to comment Share on other sites More sharing options...
razaro Posted July 11, 2013 Share Posted July 11, 2013 unexpected T_ENCAPSED_AND_WHITESPACE, expecting ')' Issue is not in class_index.php but in some other file, where ) is missing or ; is left out. It could be from some module. Also you did not mention what version are you using, did you maybe modified some core files or are some files overridden. Also if you enable debug mode maybe full error stack could help. Link to comment Share on other sites More sharing options...
vekia Posted July 11, 2013 Share Posted July 11, 2013 razaro, but if there is no ')' sign the problem should appear all the time, don't you think? i think that this is strictly related to the cached files Link to comment Share on other sites More sharing options...
phantom309 Posted July 12, 2013 Author Share Posted July 12, 2013 I am using Presta shop V. 1.5.4.1 Link to comment Share on other sites More sharing options...
Dh42 Posted July 12, 2013 Share Posted July 12, 2013 Hmm, next time it happens can you paste the product info. The only thing I could think of that would cause it is an improperly escaped field. Link to comment Share on other sites More sharing options...
Recommended Posts