Debugging Wordpress
Created by: numeroteca
There are many documented problems #50 #54 (closed) #57 regarding the slow performance of the site.
This is a new attempt to document those and new ones. We have installed Query monitor wordpress plugin to help with the debugging process:
Ajax
- PHP errors were triggered during an Ajax request. See your browser developer console for details. GET https://globalrec.org/wp-admin/ → 200
PHP Errors: Theme
- PHP errors: Warning. count(): Parameter must be an array or an object that implements Countable wp-content/themes/globalrec/lib/metabox/init.php:746 cmb_Meta_Box::set_mb_type() wp-content/themes/globalrec/lib/metabox/init.php:162 cmb_Meta_Box->__construct() wp-content/themes/globalrec/lib/metabox/init.php:43 initialize_cmb_meta_boxes() wp-includes/class-wp-hook.php:286 do_action('init') wp-settings.php:525
Slow queries Query SELECT wpml_translations.element_id, tax.term_id, tax.taxonomy FROM wp_icl_translations wpml_translations JOIN wp_term_taxonomy tax ON wpml_translations.element_id = tax.term_taxonomy_id AND wpml_translations.element_type = CONCAT('tax_', tax.taxonomy) JOIN wp_terms terms ON terms.term_id = tax.term_id WHERE tax.term_id != tax.term_taxonomy_id
Caller WPML_Term_Translation->maybe_warm_term_id_cache()
Component Plugin: sitepress-multilingual-cms
Rows 2707