Jump to:

23477 Posts in 18941 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Warning: Warning: there are two 'BulkLoader' files both containing the same class

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: 1370 Views
  • xcommum
    Avatar
    Community Member
    10 Posts

    Warning: Warning: there are two 'BulkLoader' files both containing the same class Link to this post

    I keep getting this error every now and then when I visit our site with SilverStripe installed: Warning: Warning: there are two 'BulkLoader' files both containing the same class: '/home/public_html/sapphire/dev/BulkLoader.php' and '/home/public_html/cms/code/BulkLoader.php'. This might mean that the wrong code is being used. in /home/public_html/sapphire/core/ManifestBuilder.php on line 253

    If I open the Manifest Builder.php file line 253 is: user_error("Warning: there are two '$itemCode' files both containing the same class: '$folder/$item' and '{$classMap[$itemCode]}'.
    This might mean that the wrong code is being used.", E_USER_WARNING);

    I have installed 2.3 overtop 2.2 and then reverted back to 2.2 because of issues we were having with 2.3. Any suggestions on a fix for this?

  • xcommum
    Avatar
    Community Member
    10 Posts

    Re: Warning: Warning: there are two 'BulkLoader' files both containing the same class Link to this post

    I noticed there was an extra folder in /sapphire called "dev". Not sure if this folder is proprietary to 2.3 and not 2.2, so I deleted the entire "dev" folder (since I am running 2.2 again) and it took the error away for the time being, not sure if it will return or not, I will let everyone know.

    For the time being this seems to be where the problems are..

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