Fred89 / flatboard

A very Fast & Lightweight Flat-file forum software, Markdown and BBcode editor.
https://flatboard.org
MIT License
51 stars 6 forks source link

how to trace flatboard when a reply has broken it #18

Closed gritd closed 6 months ago

gritd commented 1 year ago

Flatboard destroyed itself after a few weeks of use by now showing me this message:

Warning: Undefined array key "reply" in [forum url]/index.php on line 95

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in [forum url]/index.php:95 Stack trace: #0 {main} thrown in [forum url]/index.php on line 95

I have no idea where ot comes from (perhaps a bot/hack reply) nor how to tacke this and I needed to deactivate the forum. First thought was to check reply entries but .. how is this built up?

Fred89 commented 6 months ago

Try the new version of Flatboard 3.2 "SHIBA", more PHP 8 code is fixed. DEBUG_MODE = FALSE