This thread is resolved. Here is a description of the problem and solution.
Problem:
The client reported an issue where the 'Add Module' button and content manipulation functionalities were non-responsive in the 'Case Studies' post type using the Classic Editor. This was due to a JavaScript error caused by the ACFML plugin attempting to execute a function meant for the Block Editor, resulting in a 'wp is not defined' error and breaking the page's JavaScript.
Solution:
We recommended the following steps:
1. Temporarily deactivate the ACFML plugin to check if the issue resolves.
2. Enable WP_DEBUG in the wp-config.php file to gather more detailed error logs. The specific lines to add were:
define('WP_DEBUG', true);<br />ini_set('log_errors', TRUE);<br />ini_set('error_reporting', E_ALL);<br />ini_set('error_log', dirname(__FILE__) . '/error_log.txt');3. If the issue persists, switch to a default WordPress theme like Twenty Twenty Five to determine if the issue is theme-specific.
4. If the problem is resolved by switching themes, it suggests that the issue might be with the custom theme used on the site rather than the WPML or ACF plugins.
If these steps do not resolve the issue or if the solution seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.