I'm working on a fork of occupy.here (hi Dan!) and I installed occupy.here on a local virtual host in order to test the site I was building. When I launch the site I got the following error:
Parse error: parse error, expecting `"identifier (T_STRING)"' in /XXX/XXX/XXX/XXX/library/grid/response.php on line 64
This appears to be a problem with parsing the yield() method in /library/grid/response.php
After a lot of tracking the error, I just changed the yield() method to an identical one called give() - and changed all occurrence in /app/layouts/layout.php as well. So far this seems to have fixed the problem entirely, implying it's just a problem with the method name.
I'm working on a fork of occupy.here (hi Dan!) and I installed occupy.here on a local virtual host in order to test the site I was building. When I launch the site I got the following error:
Parse error: parse error, expecting `"identifier (T_STRING)"' in /XXX/XXX/XXX/XXX/library/grid/response.php on line 64
This appears to be a problem with parsing the yield() method in /library/grid/response.php
After a lot of tracking the error, I just changed the yield() method to an identical one called give() - and changed all occurrence in /app/layouts/layout.php as well. So far this seems to have fixed the problem entirely, implying it's just a problem with the method name.