Browsing as a guest. You can post with a name and email, like, and report. Sign in as Maya, Tomas, Priya… to pin, moderate, and see author badges from the other side.
TCK-4182 open high

Comments not appearing after upgrade to 3.9

Sam Okafor · Ledgerline → Jonas Weber

After upgrading from 3.8 to 3.9 our comments stopped rendering on article pages. No errors in the log. The thread heading shows Discussion (0) even though the table has 1,240 rows for that article.

We are on PHP 8.3, Laravel 12, and we published the Blade views a while back.

Conversation (2)

Or Log in to comment!

Sam Okafor Sam Okafor

That is it. 1,240 rows at 0, none at 1. We do have require_approval on because we turned it on last year during a spam wave and never turned it off.

Jonas Weber Jonas Weber

Thanks for the detail — the row count is the useful clue here.

Discussion (0) with rows in the table almost always means the approval filter is hiding them. 3.9 did not change the default, but if require_approval is true in your config then every pre-existing row needs is_approved = 1, and the column defaults to 0 for rows created before the 3.8 migration.

Could you run this and tell me what comes back?

select is_approved, count(*) from comments group by is_approved;