I have an older slideshow block (originally developed v. 5.7) and want to make it work under v.9 and PHP8. It works fine with PHP7.4 but when I switch to PHP8 it throws an error in the controller:
Undefined property: Concrete\Package\InfiniteSlideshow\Block\InfiniteSlideshow\Controller::$fileOrder
It’s within an if statement:
if ($this->fileOrder == 'date_asc') $fl->sortBy('fDateAdded', 'asc');
Can this be done by myself - with basic knowledge of PHP?
Thanks a lot