TypeError: i.querySelector(…) is null
-
Hi there!
First of all: Using and loving your plugin ever since it’s release!
In the newest release though, there is a bug: When re-ordering, the spinning wheel stays and I get a javascript error saying
TypeError: i.querySelector(...) is null
It happens on the normal posts edit screen, which I activated following your instructions. On the pages edit screen, it works fine.
Testing it there, I just found another “bug”: When you use the translation plugin qtranslate, the title of posts / pages always has to go through the default post title filters, so that language brackets won’t get printed. After reordering, I think because the updated post title comes from your javascript, the title says something like this:
<!--:en-->About<!--:--><!--:de-->über uns<!--:-->
When I reload the page, the title is displayed correctly again.
I both cases, actual re-ordering works fine, both errors just make the plugin ‘feel broken’.
Hopefully, the hints will be helpful for you.
https://www.ads-software.com/extend/plugins/simple-page-ordering/
- The topic ‘TypeError: i.querySelector(…) is null’ is closed to new replies.