Jump to:

23358 Posts in 17874 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » injector error SS3

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

Page: 1
Go to End
Author Topic: 528 Views
  • lozhowlett
    Avatar
    Community Member
    146 Posts

    injector error SS3 Link to this post

    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?

  • Willr
    Avatar
    Forum Moderator
    5482 Posts

    Re: injector error SS3 Link to this post

    Is that all you get?

  • lozhowlett
    Avatar
    Community Member
    146 Posts

    Re: injector error SS3 Link to this post

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

  • kinglozzer
    Avatar
    Community Member
    138 Posts

    Re: injector error SS3 Link to this post

    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

  • CodeTrap
    Avatar
    Community Member
    2 Posts

    Re: injector error SS3 Link to this post

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

    528 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.