M. Rahi Posted May 22, 2020 Share Posted May 22, 2020 I am unable to create new category properly or editing the category. ON creating new category the message An unexpected error occurred. [PrestaShopDatabaseException code 0] . And ads a blank category with id only. No name and url. And while try to edit this it show 500 internal server error. ' Link to comment Share on other sites More sharing options...
Amin Vatandoust Posted May 24, 2020 Share Posted May 24, 2020 Hi Turn on Debug and check what does it show when you get 500 error. Here is "Turn On Error Reporting For Debug" tutorial Link to comment Share on other sites More sharing options...
M. Rahi Posted May 26, 2020 Author Share Posted May 26, 2020 On 5/24/2020 at 7:43 PM, Amin Vatandoust said: Hi Turn on Debug and check what does it show when you get 500 error. Here is "Turn On Error Reporting For Debug" tutorial Type error: Argument 2 passed to PrestaShop\PrestaShop\Core\Domain\Category\QueryResult\EditableCategory::__construct() must be of the type array, null given, called in /var/www/vhosts/thehardwoodoutlet.ca/src/Adapter/Category/QueryHandler/GetCategoryForEditingHandler.php on line 107 This error. Screenshot attached. 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