Recently Updated

My Services

Blog: PHP Parse error: syntax error, unexpected T_STRING

Apr202014

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!

 
Copyright © 2012-2021 Vinos de Frutas Tropicales. Powered by Zen Cart