PHP 8 deprecated function/method argument order
-
This plugins uses some function/method declarations which is deprecated with php 8.
In init.php:251 the method declaration is
public function get_avatar( $avatar, $id_or_email, $size = 96, $default = '', $alt = false, $args )
which causes php 8+ to throw a deprecation notice:
Deprecated: Required parameter $args follows optional parameter $size in /Users/username/sites/mytheme/wp-content/plugins/basic-user-avatars/init.php on line 251
Could this be fixed?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP 8 deprecated function/method argument order’ is closed to new replies.