Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-7911

Fatal Error: undefined function get_user_avatar() in UCP / Edit groups

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.0.4
    • 3.0.3
    • None
    • PHP Environment:
      Database:

      To reproduce this error:

      First create a group with a group avatar.
      Insert your user into the group leadership.

      Switch to the

      UCP --> Usergroups --> Manage usergroups -->
      Select the new group and click on "edit" or "Manage users".

      Result:

      Fatal error: Call to undefined function get_user_avatar() in /xxx/includes/ucp/ucp_groups.php on line 441

      Possible fix:

      OPEN includes/ucp/ucp_groups.php

      FIND:

      					$group_name = $group_row['group_name'];
      					$group_type = $group_row['group_type'];

      BEFORE ADD:

      					include_once($phpbb_root_path . 'includes/functions_display.' . $phpEx);

      FIND:

      						include($phpbb_root_path . 'includes/functions_display.' . $phpEx);

      REPLACE WITH:

      						include_once($phpbb_root_path . 'includes/functions_display.' . $phpEx);

            Kellanved Kellanved [X] (Inactive)
            Dr.Death Dr.Death
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: