Skip Navigation

Resolved

Reported for: WPML Multilingual CMS 4.6.7

Resolved in: WPML 4.6.8

Topic Tags: Bug

Overview of the issue

Under some scenarios, you may encounter a critical error when attempting to view your Pages list in the WordPress admin area. This error prevents the display of pages and shows an error message instead:

PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1671168 bytes) in .../wp-includes/class-wpdb.php on line 2349 
WordPress database error Commands out of sync; you can't run this command now for query SELECT option_value FROM pl_options WHERE option_name...

Workaround

Please, make sure of having a full backup of your site before proceeding.

  • Open …/sitepress-multilingual-cms/classes/records/class-wpml-tm-records.php file.
  • Look for line 64.
  • Change:
    					"SELECT *
    
  • For:
    					"SELECT `translation_id`, `status`