1 (edited by stildalf 03/13/2011 08:16:37 am)

Topic: 2.3.2 Undefined index: package in file: includes/hooks.inc at line 197

Hi Guys,

Not sure if this is just a warning and what it's effects are - found it by accident while solving another issue.

FA 2.3.2 with $go_debug = 2; in config.php I get the following on every "main" app page. (Sales, Purchases, Items, etc...)

Undefined index: package in file: /var/www/acc.5x5/includes/hooks.inc at line 197

Undefined index: package in file: /var/www/acc.5x5/includes/access_levels.inc at line 263

Going to a particular view within an app (say New Sales Order Entry) then show the hooks.inc warning only, not the access_levels.inc.

Can I safely ignore these, or should I be looking to solve something?

Re: 2.3.2 Undefined index: package in file: includes/hooks.inc at line 197

Seems you have installed some local extension module, and entries in array located in installed_extensions.php file does not contain 'package' element.
Just add 'package' => 'my_local_highly_secret_package'  to this entry in $installed_extensions array wink.