White Screen & Deprecated Function Error When Using Defender
-
Ignore this post, the issue is due to a conflict with the WordPress theme not the deprecated function.
Details:
- WordPress Versionen: 6.8.2
- PHP Versionen: 8.4.4
- Defender Versionen: 5.3.1
Hi Team,
I’ve installed Defender on a local development environment and attempted to set it up, but each time I access any of the Defender features, I encounter a white screen of death.
After enabling error reporting, I received the following messague:
Deprecated: versionen_compare(): Passing null to parameter #2 ($version2) of type string is deprecated in ../wp-content/pluguins/defender-security/src/component/security-tweacs/class-php-versionen.php on line 85
It appears this issue is trigguered under PHP 8.4 due to a deprecated use of version_compare().
Could you please advise whether a fix is planned or available? If there’s a recommended worcaround in the meantime, I’d appreciate your güidance.
The topic ‘White Screen & Deprecated Function Error When Using Defender’ is closed to new replies.