Closed (fixed)
Project:
Admin:hover
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
6 Jan 2009 at 01:29 UTC
Updated:
20 Jan 2009 at 23:20 UTC
Using the latest 6.x-1.x, I get a large numbers of notices with PHP's error_reporting set to E_ALL | E_NOTICE. Each one repeats several several times, but here is each individual message:
# notice: Undefined index: style in /home/davereid/Projects/drupal6/sites/all/modules/contrib/admin_hover/admin_hover.module on line 208.
# notice: Undefined index: dependencies in /home/davereid/Projects/drupal6/sites/all/modules/contrib/admin_hover/admin_hover.module on line 573.
# notice: Undefined index: access callback in /home/davereid/Projects/drupal6/sites/all/modules/contrib/admin_hover/admin_hover.module on line 582.
# warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'clone_access' was given in /home/davereid/Projects/drupal6/sites/all/modules/contrib/admin_hover/admin_hover.module on line 587.
# notice: Undefined index: title arguments in /home/davereid/Projects/drupal6/sites/all/modules/contrib/admin_hover/admin_hover.module on line 599.
# notice: Undefined index: title callback in /home/davereid/Projects/drupal6/sites/all/modules/contrib/admin_hover/admin_hover.module on line 604.
# notice: Undefined index: title arguments in /home/davereid/Projects/drupal6/sites/all/modules/contrib/admin_hover/admin_hover.module on line 605.
# notice: Undefined index: destination in /home/davereid/Projects/drupal6/sites/all/modules/contrib/admin_hover/admin_hover.module on line 612.
Please consider using a different error_reporting option value for PHP for development.
Comments
Comment #1
Coyote commentedI'm getting the same error.
At a quick glance, it looks like there is support in place for the Node Clone module, but no check to insure that Node Clone is actually installed.
The node_clone stuff looks like it's being called in a declaration on lines 342-354 in admin_hover.module. Most of the other links declarations appear to use a different method of checking whether it's okay to call them.
Comment #2
conortm commentedMany thanks.
I believe I have fixed the issues causing the php notices. Also, I fixed an issue with checking module dependencies, which was causing the "valid callback" warning.
These fixes will be available in the upcoming dev release, in a few hours.
Thanks, again!
Comment #3
conortm commentedMarked as fixed, as release is available.