Tagger used to work perfectly, but sometime between now and December it stopped (last blog post with a tag is December).
If I click the up / down arrows to expand the tags to choose from, it says “Loading…” then disappears. We do have tags in the system, I’ve verified that.
I’ve also found posts with existing tags no longer show the tags in the tagger field, they do still work on the front end.
When you open the developer tools of your browser, are there any errors in the tab Console or the tab Network?
When you open the dropdown, it should create a new request to assets/components/tagger/connector.php (action = mgr/extra/gettags). Is this request successful?
Are there any related errors in the MODx error log?
That is really weird! It would mean that the query for getCount() is correct, but then fails later ($c->stmt->fetch()) to read the individual tags. What are the request parameters for start and limit?
You probably have to debug this code to get to the bottom of the problem.
There is no setting. I meant the parameters that get sent with the ajax-request to connector.php. (You can see them in the developer tools when you click on Request in the first image you posted.)
It’s just the craziest thing as to why it won’t work when it did before. I even changed one tag to remove the & symbol, sometimes those can cause issues. No luck.
I’ve previously seen behavior like that (a count but no results) when there were invalid UTF8 characters in the content, which breaks the json generation. And also when there’s an issue with the query itself after the count which @halftrainedharry suggested.
In this case I’m 92% sure the problem is sorting by rank - that’s a reserved keyword and needs special handling. Did you not get any messages about that in the MODX error log?