willowtree Posted July 28, 2021 Share Posted July 28, 2021 Hello, I have quite a fresh install, and have migrated my categories and products from the current cart. When I try to add category images I get an error, An error occurred while editing the category. This error is for trying to edit anything in the category - I can't see any more information about what the error is or how to fix it? Link to comment Share on other sites More sharing options...
willowtree Posted July 29, 2021 Author Share Posted July 29, 2021 yes, I'd rather not have to recreate my entire category structure from the beginning. Link to comment Share on other sites More sharing options...
SmartDataSoft Posted August 1, 2021 Share Posted August 1, 2021 @willowtree Which version of PrestaShop and php you are using. Some time PrestaShop php compatibility made problem. If you give the information then we will try to guide. Secondly ,can you enable the debug mode and post the error log, it also help to guide more clearly Thank you Link to comment Share on other sites More sharing options...
willowtree Posted August 3, 2021 Author Share Posted August 3, 2021 PHP version: 7.4.21 PrestaShop version: 1.7.7.5 Debug mode breaks everything, Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /home/xxx/presta/src/Adapter/EntityMapper.php on line 99 Link to comment Share on other sites More sharing options...
SmartDataSoft Posted August 3, 2021 Share Posted August 3, 2021 Hello, you can check compatibility, 1.7.7.5 is not compatible in php 7.4 https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/ Please downgrade your php to 7.3 and disable debug hope all work fine. Thank you Link to comment Share on other sites More sharing options...
Shabab Posted August 3, 2021 Share Posted August 3, 2021 16 minutes ago, SmartDataSoft said: Hello, you can check compatibility, 1.7.7.5 is not compatible in php 7.4 https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/ Please downgrade your php to 7.3 and disable debug hope all work fine. Thank you @SmartDataSoftis right use php 7.3 or 7.2 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