4.9.8 Edit Page Slowed By Core WordPress Query
-
For the past several weeks my website has been slow to load and especially slow to create new posts or edit existing ones. I’m receiving 503 service unavailable errors and “Connection lost. Saving has been disabled until you’re reconnected. We’re backing up this post in your browser, just in case.” I’ve gone through the normal troubleshooting, changing my theme, disabling plugins, etc. and turned on debugging as well as installed Query Monitor. The problem appears to be a query for meta keys in the wp_postmeta table. It’s taking well over 30 seconds to run. The error Query Monitor is showing is:
SELECT DISTINCT meta_key
FROM wp_postmeta
WHERE meta_key NOT BETWEEN ‘_’
AND ‘_z’
HAVING meta_key NOT LIKE ‘\\_%’
ORDER BY meta_key
LIMIT 301. do_meta_boxes()
wp-admin/includes/template.php:1073
2. post_custom_meta_box()
wp-admin/includes/meta-boxes.php:685
3. meta_form()
wp-admin/includes/template.php:630I’ve found similar problems on Google in previous versions of WordPress but none of those solutions seemed applicable. I’m really hoping someone here can help me.
The page I need help with: [log in to see the link]
- The topic ‘4.9.8 Edit Page Slowed By Core WordPress Query’ is closed to new replies.