Facebook 

SMFHacks.com - Celebrating 20 Years!

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4341
Latest: jmac32here
New This Month: 2
New This Week: 0
New Today: 0
Stats
Total Posts: 44306
Total Topics: 7676
Most Online Today: 365
Most Online Ever: 27044
(May 30, 2026, 09:10:16 pm)
Users Online
Members: 1
Guests: 159
Total: 160

Author Topic: Undefined array key  (Read 19721 times)

0 Members and 1 Guest are viewing this topic.

Undefined array key
« on: »
Hi. I've noticed this undefined warning in my forum error log.

2: Undefined array key "admin_menu_name"

Please see the attached screenshot.
« Last Edit: August 05, 2025, 10:31:24 pm by Alistair »

Re: Undefined array key
« Reply #1 on: »
What gallery version?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: Undefined array key
« Reply #2 on: »
10.3.1 the latest. I often check for updates to update to the latest version.

Re: Undefined array key
« Reply #3 on: »
Fixed for next update

Hotfix:
Find
Code: [Select]
$context[$context['admin_menu_name']]['tab_data'] = array(

Change to
Code: [Select]
if (isset($context['admin_menu_name']))
$context[$context['admin_menu_name']]['tab_data'] = array(
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
39 Replies
31190 Views
Last post March 27, 2022, 05:51:08 am
by pete
1 Replies
5535 Views
Last post February 18, 2022, 06:34:07 pm
by SMFHacks
2 Replies
4810 Views
Last post August 16, 2024, 08:05:28 am
by landyvlad
3 Replies
6774 Views
Last post August 26, 2024, 11:10:54 pm
by SMFHacks
7 Replies
21939 Views
Last post May 05, 2025, 08:47:34 am
by Michel68

+- Recent Topics

Registration - anti bot pattern matching by SMFHacks
November 01, 2026, 07:20:17 pm

EZPortal 8 by davejo
October 21, 2026, 01:01:54 pm

Downloads Pro 7.0 Released by SMFHacks
October 07, 2026, 07:35:30 pm

[Mod]ActivityPub Federation for SMF 2.1 by SMFHacks
October 01, 2026, 05:03:45 pm

Newsletter Pro 4.0 Released by SMFHacks
September 23, 2026, 08:08:24 pm

Can't remove or restore any item from the recycle bin by SMFHacks
September 22, 2026, 11:01:51 am

MCP Server for SMF 2.1 - let Claude, ChatGPT or Cursor run your admin chores by SMFHacks
September 12, 2026, 02:50:45 pm

Suggestions for improvements to Ultimate Shoutbox & Chatroom by davejo
September 02, 2026, 01:35:09 am

Automatic Sorting of Categories by Kiwi
August 31, 2026, 12:36:09 am

' appears as ' in Most Viewed (and Recent Items ?) by SMFHacks
August 22, 2026, 11:01:56 pm

Powered by EzPortal