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?
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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.
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?
Is that all you get?
unforgeable yes! It just comes up in a tiny black box top right of the admin screen, then will not load the target page.
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
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.....