Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protected method name on local install? #5

Open
stml opened this issue Jan 8, 2016 · 1 comment
Open

Protected method name on local install? #5

stml opened this issue Jan 8, 2016 · 1 comment

Comments

@stml
Copy link

stml commented Jan 8, 2016

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.

@dphiffer
Copy link
Contributor

dphiffer commented Aug 7, 2019

Oh gosh I just discovered this issue, after a long hiatus of not working on things. @stml, thanks for reporting this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants