Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging Wordpress #60

Open
numeroteca opened this issue Nov 6, 2019 · 0 comments
Open

Debugging Wordpress #60

numeroteca opened this issue Nov 6, 2019 · 0 comments
Assignees

Comments

@numeroteca
Copy link
Member

numeroteca commented Nov 6, 2019

There are many documented problems #50 #54 #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: 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants