Problem: The client is experiencing a critical error when trying to access wp-admin/edit.php or wp-admin/edit.php?post_type=page with WPML active, despite setting the memory limit to 256M in wp-config.php. WordPress still reports a memory limit of 40M, and a missing icl_background_task table was identified, which likely disappeared during a move to new hosting. Solution: We recommend enabling debugging to identify the specific errors causing the issue. To do this, modify your wp-config.php file:
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
This will save error logs to a debug.log file in the /wp-content/ directory. Additionally, ensure that your WPML plugin and add-ons are updated to the latest version, currently 4.6.14, to benefit from recent fixes and improvements. You can update WPML by following the instructions here: http://wpml.org/faq/install-wpml/. Before updating, please back up your database.
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 the problem persists, please open a new support ticket with us for further assistance.