WordPress database error on step 2.2
-
wpsolrKeymaster3 years, 2 months ago #19020
I made the full same steps, but it worked:
1) delete from wp_options where option_name = ‘wdm_db’;
2) drop table wp_wpsolr_index_history;
3) Refresh screen 2.2 with a taxonomy selected
I can see a DESCRIBE error in Query monitor. Due to the dbDelta probably.
4) describe wp_wpsolr_index_history;
Table is here and correct.
5) Refresh screen 2.2 with a taxonomy selected
No error in Query monitormaxwatsonParticipant3 years, 2 months ago #19021I’ve repeated steps 1-5 also, and I can confirm this behavior on my side also.
But what happens when you refresh page 2.2 the second time?
The second time I refresh (or access directly) the 2.2 page, the errors reappear.I don’t understand why the first time I access the page – no errors, the second time – errors.
wpsolrKeymaster3 years, 2 months ago #19022It looks like in your case the line
“if ( WPSOLR_Service_Container::getOption()->get_db_current_version() !== $db_version )”
returns true, while it returns false for me.If I force it to return true, then I get the same Query monitor as yours when refreshing.
You must be logged in to reply to this topic.