Anas fandc Posted August 5, 2021 Share Posted August 5, 2021 (edited) Hello, I'm trying to access my theme translation in the back office but when i hit edit the page is not properly loaded when i checked my browser console i see this error Uncaught (in promise) TypeError: Cannot read property 'tree' of undefined at e.<anonymous> (translations.bundle.js?1.7.6.4:145) at translations.bundle.js?1.7.6.4:195 at translations.bundle.js?1.7.6.4:200 at Array.forEach (<anonymous>) at translations.bundle.js?1.7.6.4:200 at e.N._withCommit (translations.bundle.js?1.7.6.4:200) at e.N.commit (translations.bundle.js?1.7.6.4:200) at commit (translations.bundle.js?1.7.6.4:200) at translations.bundle.js?1.7.6.4:121 I'm using Prestashop 1.7.6.4 with PHP 7.3.27, i searched for information about this i didn't really find anything useful, i found something about files permissions but when i tried changing the translation folders and files permissions nothing changed same error, i found also something about PHP version tried changing from 7.3 to 7.2 but that didn't work either. Any idea on how can i solve this please ? Edited August 9, 2021 by Anas fandc (see edit history) Link to comment Share on other sites More sharing options...
Anas fandc Posted August 9, 2021 Author Share Posted August 9, 2021 I finally found the source of the problem it was caused by a redirection rule in htaccess file 1 Link to comment Share on other sites More sharing options...
Marco R. Posted September 28, 2022 Share Posted September 28, 2022 In which folder is the .htaccess modified file located? I have the same problem. Thanks. Link to comment Share on other sites More sharing options...
Anas fandc Posted September 28, 2022 Author Share Posted September 28, 2022 I don't really remember, but i must be either the one in root or in the admin folder. Link to comment Share on other sites More sharing options...
neoweiter Posted September 8, 2023 Share Posted September 8, 2023 I had the same problem but the htaccess did not changed anything for me. The solution for me was to set display_error to 'off' in config/defines.inc.php 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