Blog: PHP Parse error: syntax error, unexpected T_STRING
I was updating a plugin a while ago and received the subject PHP parse error. I must have looked at the referenced source-code line a million times:
define('EMAIL_SUBJECT_APPROVED', 'Approved: ' . STORE NAME . ' referrer account');
before I realized that I'd blanked out an underscore in the definition:
define('EMAIL_SUBJECT_APPROVED', 'Approved: ' . STORE_NAME . ' referrer account');
I'll be paying more attention to those missing underscores in the future!
Latest Blog [View All]
If I've helped you on the Zen Cart forums or you've found one of my free plugins helpful, feel free to give a little back by clicking here.