Site constantly Offline & SEO Optimization error message
-
I’m getting this message as soon as I hit the button “Start data SEO optimization“:
Oops, something has gone wrong and we couldn’t complete the optimization of your SEO data. Please click the button again to re-start the process.
My site is barely unusable from 5 months to this part. I think the problem must be related with the indexables…? There are times that I cannot access to wp-admin to manage my site and the hosting companny has to restart services so the bellow process may by stoped.
I’m on a VPS (MYSQL 5.6 and nginx 1.17.2), and I have frequently my site offline because, apparently the plugin tries to run run this process without success:
912381 | mysite | localhost | mysite | Query | 788 | Sending data | SELECT COUNT(term_id)
FROM wp_term_taxonomy
WHERE term_id NOT IN (
SELECT object_id FROM w | 0.000 |
| 912398 | mysite | localhost | mysite | Query | 772 | Sending data | SELECT COUNT(term_id)
FROM wp_term_taxonomy
WHERE term_id NOT IN (
SELECT object_id FROM w | 0.000 |
| 912402 | mysite | localhost | mysite | Query | 766 | Sending data | SELECT COUNT(term_id)
FROM wp_term_taxonomy
WHERE term_id NOT IN (
SELECT object_id FROM w | 0.000 |
| 912484 | mysite | localhost | mysite | Query | 706 | Sending data | SELECT COUNT(term_id)
FROM wp_term_taxonomy
WHERE term_id NOT IN (
SELECT object_id FROM w | 0.000 |
| 912491 | mysite | localhost | mysite | Query | 702 | Sending data | SELECT COUNT(term_id)
FROM wp_term_taxonomy
WHERE term_id NOT IN (
SELECT object_id FROM w | 0.000 |
| 912554 | mysite | localhost | mysite | Query | 649 | Sending data | SELECT COUNT(term_id)
FROM wp_term_taxonomy
WHERE term_id NOT IN (
SELECT object_id FROM w | 0.000 |
| 912564 | mysite | localhost | mysite | Query | 643 | Sending data | SELECT COUNT(term_id)
FROM wp_term_taxonomy
WHERE term_id NOT IN (
SELECT object_id FROM w | 0.000 |
| 912625 | mysite | localhost | mysite | Query | 586 | Sending data | SELECT COUNT(term_id)
FROM wp_term_taxonomy
WHERE term_id NOT IN (
SELECT object_id FROM w | 0.000 |
| 912655 | mysite | localhost | mysite | Query | 566 | Sending data | SELECT COUNT(term_id)
FROM wp_term_taxonomy
WHERE term_id NOT IN (
SELECT object_id FROM w | 0.000 |
| 912721 | mysite | localhost | mysite | Query | 461 | Sending data | SELECT COUNT(term_id)
FROM wp_term_taxonomy
WHERE term_id NOT IN (
SELECT object_id FROM w | 0.000 |
| 912868 | mysite | localhost | mysite | Query | 245 | Sending data | SELECT COUNT(term_id)
FROM wp_term_taxonomy
WHERE term_id NOT IN (
SELECT object_id FROM w | 0.000 |
| 912938 | mysite | localhost | mysite | Query | 164 | Sending data | SELECT COUNT(term_id)
FROM wp_term_taxonomy
WHERE term_id NOT IN (
SELECT object_id FROM w | 0.000 |
| 913057 | mysite | localhost | mysite | Query | 27 | Sending data | SELECT COUNT(term_id)
FROM wp_term_taxonomy
WHERE term_id NOT IN (
SELECT object_id FROM w | 0.000 |
| 913060 | mysite | localhost | mysite | Query | 21 | Waiting for table level lock | SELECT * FROM wp_yoast_indexable WHERE object_id = ‘26130’ AND object_type = ‘post’ LIMIT 1 | 0.000 |
| 913061 | mysite | localhost | mysite | Query | 21 | Waiting for table level lock | UPDATE wp_yoast_indexable SET permalink = ‘https://www.mysite.com/tag/dell | 0.000 |
| 913070 | mysite | localhost | mysite | Query | 4 | Waiting for table level lock | SELECT * FROM wp_yoast_indexable WHERE object_id = ‘23339’ AND object_type = ‘post’ LIMIT 1 | 0.000 |
| 913071 | root | localhost | NULL | Query | 0 | NULL | show processlistWhat have I done to try to understand the problem cause?
I tried to put this on my dev machine and I found this message on dev tools console:
POST https://localhost/mysite/wp-json/yoast/v1/indexation/prepare 404 (Not Found) (anonymous) @ indexation-1511.js:1 tryCatch @ wp-polyfill.min.js:3 invoke @ wp-polyfill.min.js:3 t.<computed> @ wp-polyfill.min.js:3 r @ indexation-1511.js:1 (anonymous) @ indexation-1511.js:1 (anonymous) @ indexation-1511.js:1 (anonymous) @ indexation-1511.js:1 (anonymous) @ indexation-1511.js:1 tryCatch @ wp-polyfill.min.js:3 invoke @ wp-polyfill.min.js:3 t.<computed> @ wp-polyfill.min.js:3 tryCatch @ wp-polyfill.min.js:3 maybeInvokeDelegate @ wp-polyfill.min.js:3 invoke @ wp-polyfill.min.js:3 t.<computed> @ wp-polyfill.min.js:3 r @ indexation-1511.js:1 (anonymous) @ indexation-1511.js:1 Promise.then (async) r @ indexation-1511.js:1 (anonymous) @ indexation-1511.js:1 (anonymous) @ indexation-1511.js:1 (anonymous) @ indexation-1511.js:1 (anonymous) @ indexation-1511.js:1 tryCatch @ wp-polyfill.min.js:3 invoke @ wp-polyfill.min.js:3 t.<computed> @ wp-polyfill.min.js:3 r @ indexation-1511.js:1 (anonymous) @ indexation-1511.js:1 (anonymous) @ indexation-1511.js:1 (anonymous) @ indexation-1511.js:1 Ag @ react-dom.min.js:116 zg @ react-dom.min.js:116 qi @ react-dom.min.js:130 ui @ react-dom.min.js:133 (anonymous) @ react-dom.min.js:158 unstable_runWithPriority @ react.min.js:27 Vc @ react-dom.min.js:158 Sc @ react-dom.min.js:158 Z @ react-dom.min.js:156 ah @ react-dom.min.js:159 xf @ react-dom.min.js:40
And online I get this message:
POST https://www.mysite.com/wp-json/yoast/v1/indexation/terms 524 indexation-1511.js:1 (anonymous) @ indexation-1511.js:1 tryCatch @ wp-polyfill.min.js:1 invoke @ wp-polyfill.min.js:1 t.<computed> @ wp-polyfill.min.js:1 r @ indexation-1511.js:1 (anonymous) @ indexation-1511.js:1 (anonymous) @ indexation-1511.js:1 (anonymous) @ indexation-1511.js:1 (anonymous) @ indexation-1511.js:1 tryCatch @ wp-polyfill.min.js:1 invoke @ wp-polyfill.min.js:1 t.<computed> @ wp-polyfill.min.js:1 tryCatch @ wp-polyfill.min.js:1 maybeInvokeDelegate @ wp-polyfill.min.js:1 invoke @ wp-polyfill.min.js:1 t.<computed> @ wp-polyfill.min.js:1 r @ indexation-1511.js:1 (anonymous) @ indexation-1511.js:1 Promise.then (async) r @ indexation-1511.js:1 (anonymous) @ indexation-1511.js:1 (anonymous) @ indexation-1511.js:1 (anonymous) @ indexation-1511.js:1 (anonymous) @ indexation-1511.js:1 tryCatch @ wp-polyfill.min.js:1 invoke @ wp-polyfill.min.js:1 t.<computed> @ wp-polyfill.min.js:1 r @ indexation-1511.js:1 (anonymous) @ indexation-1511.js:1 Promise.then (async) r @ indexation-1511.js:1 (anonymous) @ indexation-1511.js:1 (anonymous) @ indexation-1511.js:1 (anonymous) @ indexation-1511.js:1 yg @ react-dom.min.js:62 xg @ react-dom.min.js:61 Ti @ react-dom.min.js:148 unstable_runWithPriority @ react.min.js:26 Ma @ react-dom.min.js:52 Ia @ react-dom.min.js:140 ze @ react-dom.min.js:118 (anonymous) @ react-dom.min.js:53 unstable_runWithPriority @ react.min.js:26 Ma @ react-dom.min.js:52 mg @ react-dom.min.js:52 V @ react-dom.min.js:52 Be @ react-dom.min.js:119 xi @ react-dom.min.js:39
Possible solutions that I’ve found that I also tried:
- Replaced my theme to Twenty Twenty;
- Switch OFF all other plugins.
…and the following:
- Install & activate the Yoast Test Helper plugin
- Go to Tools -> Yoast Test
- Hit the “Reset indexables & migrations” button
- Click the “Click here to speed up your site now” button.
All this didn’t resolve the issue.
Please solve this asap!
- The topic ‘Site constantly Offline & SEO Optimization error message’ is closed to new replies.