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.

General Questions /

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

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

Undefined Index Problem


Reply


2 Posts   664 Views

Avatar
AnnaCurnow

Community Member, 1 Post

12 July 2011 at 11:06am

We a client with a Silverstripe site but over the last few months the site has been going down regularly with the following error message:
Undefined index: Extension in/home/ondemandit/kindercare.co.nz/sapphire/core/classinfo.php on line 157
A flush command clears the problem but it then reappears after a week or so.
Does anyone have any clues about what could be going on and what we should do to prevent it happening?

Avatar
Willr

Forum Moderator, 5513 Posts

12 July 2011 at 6:16pm

Could you get the full back trace of the error? Should be outputted below the error. You can turn off notices by putting this in your _config.php file

error_reporting(E_ALL ^ E_NOTICE);

But turning off notices is not solving the underlying issue.