Usually this can be worked around by disabling and re-enabling extensions in a new order, but since root extend.php extenders always run last, there is no workaround until this gets fixed in the Blomstra extension.
I'm having trouble with these extensions so far:
clarkwinkelmann/flarum-pages-generator
acpl/flarum-lscache
I have a couple of other problems but I haven't yet found the extension that is causing the whole thing, but I guess it's all for the same reason.
I posted a issue on Clark's extension (https://github.com/clarkwinkelmann/flarum-pages-generator/issues/2) thinking it would be on his side, but it looks like that's not the case, he has taken the time to take a look at what's going on.
Quoting Clark's message about the issue:
I'm having trouble with these extensions so far:
clarkwinkelmann/flarum-pages-generator
acpl/flarum-lscache
I have a couple of other problems but I haven't yet found the extension that is causing the whole thing, but I guess it's all for the same reason.