When a symbolic link exists for a missing folder the function to get the disk usage size fails and causes the whole plugin to fail.
Adding Try-Catch shows the following error:
Caught exception: SplFileInfo::getSize(): stat failed for /customers/a/f/3/uwcc.uk/httpd.www/bl-content/uploads/pages/monthly-mag-jan-21
Below shows the bad dir, "monthly-mag-jan-21":
Once the bad dir is deleted the issue is solved.
Because the getSize() function is core Bludit I won't be solving it here; I'll leave in the Try-Catch as this at least now shows the error and allows this plugin to continue working.
When a symbolic link exists for a missing folder the function to get the disk usage size fails and causes the whole plugin to fail.
Adding Try-Catch shows the following error:
Below shows the bad dir, "monthly-mag-jan-21":
Once the bad dir is deleted the issue is solved.
Because the getSize() function is core Bludit I won't be solving it here; I'll leave in the Try-Catch as this at least now shows the error and allows this plugin to continue working.