Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WordPress databasefout: [Deadlock found when trying to get lock; try restarting transaction]
- DELETE t FROM wp_icl_translations i JOIN wp_icl_translations t ON i.element_id = t.element_id AND SUBSTRING_INDEX(i.element_type, '_', 1) = SUBSTRING_INDEX(t.element_type, '_', 1) AND i.element_type != t.element_type AND i.translation_id != t.translation_id JOIN (SELECT CONCAT('post_', p.post_type) AS element_type, p.ID AS element_id FROM wp_posts p UNION ALL SELECT CONCAT('tax_', tt.taxonomy) AS element_type, tt.term_taxonomy_id AS element_id FROM wp_term_taxonomy tt) AS data ON data.element_id = i.element_id AND data.element_type = i.element_type
- Fatal error: Uncaught InvalidArgumentException: element_id and type do not match for element_id:11000 the database contains post_attachment while this function was called with post_product_variation in /home/m2baitandtackle/domains/m2baitandtackle.com/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/core-abstract-classes/class-wpml-set-language.php:34 Stack trace: #0 /home/m2baitandtackle/domains/m2baitandtackle.com/public_html/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(1529): WPML_Set_Language->set('11000', 'post_product_va...', NULL, 'nl', NULL, true) #1 /home/m2baitandtackle/domains/m2baitandtackle.com/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php(2189): SitePress->set_element_language_details('11000', 'post_product_va...', NULL, 'nl') #2 /home/m2baitandtackle/domains/m2baitandtackle.com/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php(2159) in /home/m2baitandtackle/domains/m2baitandtackle.com/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/core-abstract-classes/class-wpml-set-language.php on line 34
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement