Closed (outdated)
Project:
Menu Token
Version:
7.x-1.0-beta5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Aug 2012 at 23:36 UTC
Updated:
2 Dec 2021 at 04:52 UTC
Jump to comment: Most recent
Comments
Comment #1
willieseabrook commentedI receive the same error
Comment #2
ecarter commentedI'm running 7.x-1.0-beta5 and found I was having this same error. This error usually appears when the variable is not properly set. In this case $options['menu_token_data'].
1. Not an ideal solution, but you can suppress the message by modifying the file menu_token.module on line 379:
Old:
379 if ($append = $handler->form_options($options['menu_token_data'][$type]['options'])) {New:
379 if (isset($options['menu_token_data']) && $append = $handler->form_options($options['menu_token_data'][$type]['options'])) {2. Suppress notice warnings
You can also modify the error reporting in your php.ini file so you can just hide notices like this: error_reporting = E_ALL & ~E_NOTICE
See:
http://stackoverflow.com/questions/4261133/php-notice-undefined-variable-and-notice-undefined-index
Comment #3
develcuy commented