Thanks for the update!
The problem is the type of events.resource_id
database field. It is incorrectly set to varchar
instead of integer
. Older versions of PHP/PDO converted integer values to string and in that case it worked.
For the events to be displayed in the correct calendar columns, the resource id must match exactly, including type. In PHP 8, this application produces integer for resources[].id
and string for events[].resource
.
An updated version of the tutorial is in the works and it will be published later today.