kutchbhi Posted September 24, 2013 Share Posted September 24, 2013 So I am trying to add products programmatically, it works , but for this line: Category::regenerateEntireNtree(); If the above line is called the code fails. Why ? Link to comment Share on other sites More sharing options...
kutchbhi Posted September 24, 2013 Author Share Posted September 24, 2013 Figured it out. THe category class was eing included twice! causing the failiure. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now