Support the ongoing development of Laravel.io →
Installation

I have uploaded an exact replica of a working L4 site onto a live host and verified all files uploaded as they should. On site load i get an error:

Parse error: syntax error, unexpected 'yield' (T_YIELD), expecting '(' in /var/www/virtual/emar.is/laravel/helpers.php on line 563

Looks like a common problem, after searching around there are many live sites with this problem: emar dot is jamiebarker dot com thebestinfopage dot com

Any tips in troubleshooting?

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.