isopahasusi Posted July 21, 2024 Share Posted July 21, 2024 Hello, I updated my webshop top 8.1.6 version from 1.7. I deleted all products and encountered this error message when trying to add products: An unexpected error occurred. [PrestaShopException code 0]: SQLSTATE[HY000]: General error: 1116 Too many tables; MariaDB can only use 61 tables in a join How can I fix this? Link to comment Share on other sites More sharing options...
Knowband Plugins Posted July 22, 2024 Share Posted July 22, 2024 Hi, You can increase the table join limit in MariaDB configuration, though this is generally not recommended for production environments as it may affect performance. the file is my.cnf optimizer_switch="engine_condition_pushdown=off" Restart MariaDB after making this change. Enable debug mode in PrestaShop to get more detailed information about the query causing the issue and look for any custom overrides in the override directory that might be modifying SQL queries. Link to comment Share on other sites More sharing options...
isopahasusi Posted July 24, 2024 Author Share Posted July 24, 2024 Hello, I tried debugging mode when used csv import and it gives messages in attachement: 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