Server vs local issues are the worst. For the "unexpected T_STRING" error, verify:
- Class is loaded *before* it’s called
- No typos in the class name (case-sensitive!)
- No syntax errors in the class file itself
Maybe run `composer dump-autoload` if you’re using Composer.
- Class is loaded *before* it’s called
- No typos in the class name (case-sensitive!)
- No syntax errors in the class file itself
Maybe run `composer dump-autoload` if you’re using Composer.
