• 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)
  • Hi @vorodk

    Thank you for reaching out to Basic User Avatars, version 1.0.7 was just released and addresses this issue.

    Please update to the latest version and let me know if it doesn’t resolve your issue.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP 8 deprecated function/method argument order’ is closed to new replies.