Closed diamondsw closed 1 year ago
This now appears to be working, but I cannot determine why. I've reverted to 2.9.2 and recreated docker directories. It may be a postgres permissions issue.
If this happens again, seeing the docker logs would be useful - that should at least show a stack trace (assuming that the request is reaching shimmie in the first place)
Necrobumping this issue, as in creating a new clean copy of shimmie for a new project, I hit the same bug again!
Here's the shimmie docker logs:
2024/01/14 20:01:01 [notice] 77#77 [unit] #13: php message: PHP Fatal error: Uncaught TypeError: Shimmie2\TagCategories::page_update(): Return value must be of type bool, FFSPHP\PDOStatement returned in /app/ext/tag_categories/main.php:212
Stack trace:
#0 /app/ext/tag_categories/main.php(74): Shimmie2\TagCategories->page_update()
#1 /app/core/send_event.php(156): Shimmie2\TagCategories->onPageRequest()
#2 /app/index.php(89): Shimmie2\send_event()
#3 {main}
thrown in /app/ext/tag_categories/main.php on line 212
Nothing on the postgres logs; changing permissions as mentioned in the above postgres issue did not affect this.
Given that this is a very fresh setup (just configuring my theme/board/extension settings, no posts at all yet), I'm attaching a tar.gz of the whole Docker install. Should be able to fire it up with a docker compose up -d
and see everything I'm seeing. Obviously only in a safe environment because I am a rando on the internet.
shimmie-test.tar.gz
u:Admin p:admin
013ae41 should fix that, and I have no idea why the static type checker isn't complaining about that, even after bumping up the strictness by several notches o_O
Confirmed, this is resolved. Thanks for tracking it down!
Server Software
Client Software (please complete the following information)
What steps trigger this bug This is related to the tag_categories extension.
What did you expect to happen? Add a new category, similar to the pre-installed "Series", "Artist", and "Character".
What actually happened?
I'm happy to repeat this and provide whatever logs are helpful.