princy31 Posted August 11, 2016 Share Posted August 11, 2016 When I edit category I got this notice in backend. Notice on line 541 in file /home/public_html/controllers/admin/AdminCategoriesController.php[8] Undefined index: category I don't know how it comes. If anyone has this types of notice please guide me to solve this. Link to comment Share on other sites More sharing options...
princy31 Posted August 11, 2016 Author Share Posted August 11, 2016 I am using prestashop 1.6.1.5 Link to comment Share on other sites More sharing options...
vekia Posted August 15, 2016 Share Posted August 15, 2016 you modified aadminCategoriesController.php ? what you've got in the line defined in the notification ( 541 ) ? Link to comment Share on other sites More sharing options...
princy31 Posted August 16, 2016 Author Share Posted August 16, 2016 No i did't change that file. when i edit any category from backend i got this error: Notice on line 541 in file /home/public_html/controllers/admin/AdminCategoriesController.php [8] Undefined index: category Link to comment Share on other sites More sharing options...
princy31 Posted August 16, 2016 Author Share Posted August 16, 2016 at 541 line in admincategorycontroller.php i got this: 'format' => $format['category'] Link to comment Share on other sites More sharing options...
princy31 Posted August 16, 2016 Author Share Posted August 16, 2016 I have used cleanurls module to remove id from product and category urls. Link to comment Share on other sites More sharing options...
vekia Posted August 16, 2016 Share Posted August 16, 2016 i see where the problem is, probably. under preferences > images you removed imagetype named 'category' / 'category_default' probably am I right? Link to comment Share on other sites More sharing options...
tinhyeuphonui Posted September 6, 2016 Share Posted September 6, 2016 Hi, i see where the problem is, probably. under preferences > images you removed imagetype named 'category' / 'category_default' probably OR not checked category_default in Categories. hope help you! 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