Beta 2 – Broken frontend
- This topic has 8 replies, 4 voices, and was last updated 12 years ago by .
Viewing 9 posts - 1 through 9 (of 9 total)
Viewing 9 posts - 1 through 9 (of 9 total)
- You must be logged in to reply to this topic.
I installed beta 2and it broke my site. My frontend now displays:
Parse error: syntax error, unexpected T_STATIC, expecting T_STRING or T_VARIABLE or ‘$’ in /home/content/s/l/n/slndevelopper/html/wp-content/plugins/commons-in-a-box/includes/frontend.php on line 88
I’m getting the same problem, although this is my first install. See it at http://www.briancroxall.net/commons.
Thanks for the feedback, Amelia. I’ll submit a bug ticket for this issue.
Not sure if this is a legit fix, but if I change new static() to new self() on line 88 in frontend.php, my site comes back up…
Hmm. I’m not seeing frontend.php in my install. But there’s every chance I’m not looking in the right place.
here’s the path to it /wp-content/plugins/commons-in-a-box/includes/frontend.php
Thanks! I was looking at the CBox theme rather than the plugin. D’oh!
And mine is now running.
Glad to hear you got it running. You can follow the issue here: https://github.com/cuny-academic-commons/commons-in-a-box/issues/44.
Thanks for reporting the issue, everyone. Commons In A Box 1.0-beta3 is now available, with a fix for the issue. (Though if you’ve fixed it yourself, there’s no need to upgrade to beta3 – that’s the only change.)