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   584 Views

Avatar
lozhowlett

31 October 2012 at 4:49am Community Member, 146 Posts

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

2 November 2012 at 11:31am Forum Moderator, 5511 Posts

Is that all you get?

Avatar
lozhowlett

2 November 2012 at 9:36pm Community Member, 146 Posts

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

2 November 2012 at 10:11pm Community Member, 148 Posts

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

24 January 2013 at 8:37am (Last edited: 24 January 2013 8:38am), Community Member, 2 Posts

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.....