Error after upgrading to 7.x-3.0-rc7

Created on 26 July 2023, over 1 year ago
Updated 1 March 2024, 9 months ago

Problem/Motivation

After upgrading to 7.x-3.0-rc7 I get "The website encountered an unexpected error. Please try again later." error for all users who use this module. I had to revert previous version.

PHP version is 7.4.33.

🐛 Bug report
Status

Active

Component

Code

Created by

🇭🇺Hungary bubu Hungary

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @bubu
  • Same issue here. Also using PHP 7.4.33.

    Revert to 7.x-3.0-rc6 and problem gone.

  • admin_menu.inc function admin_menu_tree_dynamic(array $expand_map) {

        else {
    /*WTpatch: Notice: Undefined offset: 29 in admin_menu_tree_dynamic() (line 125 of /var/.../sites/all/modules/admin_menu/admin_menu.inc).*/
          //$parent_path = $result[$link['plid']]['path'];
          //$parent_path = $result[$link['plid']]['path'] ?? false; //$result[$link['plid']]['path'];
          if( isset($result[$link['plid']]['path']) ) $parent_path = $result[$link['plid']]['path']; else continue;
    /*<<<*/
        }
    
        $tree_dynamic[$parent_path][] = $link;
      }
    
    
Production build 0.71.5 2024