Hi All,

I have uploaded the patch to our forum and now running version 8.0.1 and all seems to be ok but when check things I am getting this error message when I click Permision Check in the admin panel.

Fatal error: Uncaught TypeError: readdir(): Argument #1 ($dir_handle) must be of type resource or null, false given in /home/xxxx/public_html/forum/admin/fileperms.php:154 Stack trace: #0 /home/xxxx/public_html/forum/admin/fileperms.php(154): readdir() #1 {main} thrown in /home/xxxx/public_html/forum/admin/fileperms.php on line 154

This is what is in the file on the site concerened in the error and also have attached information on the server which does not show any SQL error logs:

EDIT: Stock UBB.threads 8.0 entire /admin/fileperms.php file

Can anyone assist in what I should be looking for to stop this error message please as it appears to be the only error message that I am getting at this present stage.
Attachments
Forum_Details.jpg

Last edited by isaac; 05/13/2026 12:03 PM. Reason: removed php of entire file