Compatibility with PHP 8.1
-
change all instances of plugins_url(null
to empty string plugins_url(”
since strpos with first param as null is deprecatedi recommend running rector -> https://github.com/rectorphp/rector
with LevelSetList::UP_TO_PHP_81
https://getrector.com/documentation/set-lists
to get codebase up to date 🙂
The topic ‘Compatibility with PHP 8.1’ is closed to new replies.