Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Fatal Error when accessing my web site (No edits made to site at all recently)


Go to End


4 Posts   788 Views

Avatar
hammad78

Community Member, 2 Posts

5 July 2016 at 3:41am

Hi There,
My web page was working perfectly when i checked a few weeks ago. The link however was reported as 'not working' yesterday. I have never logged into or made any changes whatsoever for months. The following error shows up when the site is accessed:

Fatal error: 'continue' operator with non-constant operand is no longer supported in /home/hammadkkhan/public_html/sapphire/core/ManifestBuilder.php on line 152

Also, being a novice in the CMS arena, i would also need to know how can i access my site to start with. It used to be via my site url followed by a "/admin" which also gives a fatal error now.

Help needed to recover my page back please.

Avatar
martimiz

Forum Moderator, 1391 Posts

5 July 2016 at 3:45am

Has your provider updated your php version recently?

Avatar
hammad78

Community Member, 2 Posts

5 July 2016 at 3:55am

That was super quick! Thanks.
What do you mean by the provider here?
I have been on the call with the Hosting company and they think its an error due to my script and has nothing to do with them... and i have not touched the script at all for ages (not to mention i have no clue how to do it!).

I can definitely confirm if there has been an update if i know who to ask?

Avatar
martimiz

Forum Moderator, 1391 Posts

5 July 2016 at 4:49am

Indead I mean your hosting company :)

Could be you are running a SilverStripe 2.4 website and your hosting company has updated you PHP version to 5.4 or higher. That might trigger an error like this - SilverStripe 2.4 only supports PHP up to version 5.3 I think.