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

injector error SS3


Reply


5 Posts   635 Views

Avatar
lozhowlett

Community Member, 146 Posts

31 October 2012 at 4:49am

I am getting this error pop up in the top RHS in the admin...

Error at line 819 of /var/sites/s/safaridev.co.uk/public_html/framework/control/injector/Injector.php

How on earth do i debug that?

Avatar
Willr

Forum Moderator, 5513 Posts

2 November 2012 at 11:31am

Is that all you get?

Avatar
lozhowlett

Community Member, 146 Posts

2 November 2012 at 9:36pm

unforgeable yes! It just comes up in a tiny black box top right of the admin screen, then will not load the target page.

Avatar
kinglozzer

Community Member, 172 Posts

2 November 2012 at 10:11pm

Open the CMS in firefox, open firebug, click the console tab and then click the link. The more detailed error should be logged in the console

Avatar
CodeTrap

Community Member, 2 Posts

24 January 2013 at 8:37am

Edited: 24/01/2013 8:38am

Look in your Classes for:

static $allowed_children = array(
'none'
);

it have to be:

static $allowed_children = 'none';

or the Class you reference in $allowed_children doesn't exist.

This causes the error.....