unlink() expects parameter 1 to be a valid path, bool given 📋

TypeError
Toggle Vendor Stack Frames
                $filePath $file->getRealPath();
                unset($file);
                // phpcs:disable
                @unlink($filePath);
                // phpcs:enable
            }
        }
Error in: ROOT/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 319

If you want to customize this error message, create templates/Error/error500.php