Thread Starter
vralle
(@vit-1)
L120:
static $dir = null;
L148-152:
$dir = ABSPATH.UPLOADBLOGSDIR;
if ( ! file_exists( $dir ) ) {
$dir = false;
}
Proposal L145-152:
elseif (defined('UPLOADBLOGSDIR'))
{
// A custom path has been configured by site admin?
// see also UPLOADS, BLOGUPLOADDIR, BLOGUPLOADDIR
$path = ABSPATH.UPLOADBLOGSDIR;
if ( file_exists( $path ) ) { // $dir = null by default
$dir = $path;
}
}
-
This reply was modified 3 years, 2 months ago by
vralle.
Plugin Author
gioni
(@gioni)
Hi! Thank you for your report and proposals. We’ll be working on it soon.
Thread Starter
vralle
(@vit-1)
WP Cerber has been updated several times to version 9.3.3.
PHP 7.4 will go end of life on 28 November 2022.
The line of code causing the fatal error in PHP 8+ has not changed.
Gregory, is there any way I can help you with the fixes?
Plugin Author
gioni
(@gioni)
Thanks, I appreciate your willingness to help! A new version of WP Cerber with the fix will be available the next week.
Plugin Author
gioni
(@gioni)
Thread Starter
vralle
(@vit-1)
This is great news. Thank you!