@janvankuijk @sorgentegianluca I really appreciate you guys reporting this. It is very strange to me, as I tried to replicate this error on two of my test servers, but no error comes up. I even setup a clean installation of Joomla 4 to test it, and no error shows up for me. I know something is wrong because of your reports, and I am eager to sort it out.
I need you guys to temporarily turn on “Debug System” under the “System” tab in Global Configuration. Then try to go the the Dashboard for Easy Folder Listing Pro again. This should show the error stack trace and provide some more detail.
I was also wondering what version of PHP you are using? I know Jan is on PHP 8. I am in the process of setting up another test server with PHP 8 to see if it is because of that, as my existing servers use PHP 7.4.