• 2 May 2024Fix for broken study pages

    Yesterday I did a simple fix to restore functionality on some Study pages. Issue 332 on Github. Thanks Scott and David for letting me know!

    So it turns out the error surfaced after the server is upgraded to php 8.2. Over the years I did several upgrades of the code to php8 so I'm glad these were in place as I didn't expect the hosting to switch to php8 by default. Looking at the error it seems like it would have triggered on every Study page, if it were not for the fact that most pages have a cache generated to speed up the database queries.

    All this to say if you see anything odd on the site, things that may not work exactly as it used to please let me know.

    On the plus side, we are finally running on php8!

    I have been using the fixes from "FriendsOfSymfony"'s fork of Symfony 1. However I have not yet properly integrated it with composer so that's something to work on. I did some hacks of the way Symfony handles forms in the very early days of the site and this is why I have not yet added the php8-compatible fork of Symfony1 straight up as a composer package. The woes of maintaining code over a long period :) That said it shouldn't be very difficult to do.

    Basically for users the site works fine. On my end now I have a ton of "Such and such is deprecated" messages appearing in the development version. These messages are silenced on the live server.

By Month