I’m working on pro 2.2.4 and when I try to edit a page (classical EDIT WITH PRO) it crashes me on this error : Uncaught SyntaxError: Unexpected token ). It’s located in the header (pro header), Here : data-dz-name]");){if(r>=a.length)break
Now I can’t edit pages/headers/footers
Hi,
Please check for the following first:
-
Ensure everything is up to date according to our version compatibility list at https://theme.co/apex/forum/t/troubleshooting-version-compatibility/195. Please follow the best practices when updating your theme and plugins. See https://theme.co/apex/forum/t/setup-updating-your-themes-and-plugins/62 for more details.
-
Clear all caches including browser cache then deactivate your caching plugins and other optimization plugins.
-
If you’re using a CDN, please clear the CDN’s cache and disable optimization services.
-
Test for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.
-
Remove custom CSS, Javascript and templates.
-
Reset your htaccess file by renaming it to
.htaccess-bak
. Then in WP Admin Menu, go to Settings > Permalinks and just click the Save Changes button. -
Contact your host to increase your allocated memory and maximum execution time or do it yourself by adding this code in your wp-config.php
set_time_limit(300);
define( 'WP_MEMORY_LIMIT', '256M' );
define( 'WP_MAX_MEMORY_LIMIT', '512M' );
Thanks.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.