Quantcast
Viewing all articles
Browse latest Browse all 11471

Patz on "[Plugin: Polylang] Cannot add language, pages not found as a result!"

Hi,

Thanks again for your help so far. I've been away so only just got round to trying this.

I added UK language and got the white screen. The URL ends like this:
/wp-admin/admin.php?page=mlang&noheader=true.

My log says the following:

[26-Apr-2014 13:49:58] WordPress database error Table 'wp_terms' is marked as crashed and should be repaired for query SELECT term_id FROM wp_terms as t WHERE t.slug = 'en' made by do_action('settings_page_mlang'), call_user_func_array, PLL_Settings->languages_page, PLL_Admin_Model->add_language, wp_insert_term, term_exists
[26-Apr-2014 13:49:58] WordPress database error Table 'wp_terms' is marked as crashed and should be repaired for query SELECT term_id FROM wp_terms as t WHERE t.slug = 'en' made by do_action('settings_page_mlang'), call_user_func_array, PLL_Settings->languages_page, PLL_Admin_Model->add_language, wp_insert_term, wp_unique_term_slug, term_exists
[26-Apr-2014 13:49:58] WordPress database error Duplicate entry 'en' for key 'slug' for query INSERT INTO wp_terms (name,slug,term_group) VALUES ('English','en',0) made by do_action('settings_page_mlang'), call_user_func_array, PLL_Settings->languages_page, PLL_Admin_Model->add_language, wp_insert_term
[26-Apr-2014 13:49:58] PHP Fatal error: Cannot use object of type WP_Error as array in /Applications/MAMP/htdocs/integral/wp-content/plugins/polylang/admin/admin-model.php on line 47

SO it is a fatal error as you said, although the rest means nothing to me! :-/


Viewing all articles
Browse latest Browse all 11471

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>