#17202PHP error on closedir() in class.t3lib_tcemain.php
Description
I have a PHP error because of bad use of the function closedir() > http://php.net/closedir
The argument chould be a handler and not the path of the dir itself.
It’s triggered in the brand new “internal_clearPageCache()” function.
It can be corrected by changing
6222 : closedir($cacheDir);
into
6222 : closedir($topDir);
$topDir is the handler from @opendir($cacheDir) on line 6208
(issue imported from #M5411)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.