Closed (fixed)
Project:
Variable Check
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 May 2012 at 20:44 UTC
Updated:
25 May 2012 at 08:19 UTC
I get the following notice and warning when trying to use the "Delete System Variables":
Notice: Undefined index: variablecheck_delete_variables_form in drupal_retrieve_form() (line 760 of /[path]/includes/form.inc).
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'variablecheck_delete_variables_form' not found or invalid function name in drupal_retrieve_form() (line 795 of /[path]/includes/form.inc).This is on Drupal 7.14 and with when the module also reported "No invalid variables found".
Also, is this feature going to give me a list of variables I can delete or will they be deleted automatically?
Comments
Comment #1
cafuego commentedWell, the hook_menu entry causing that isn't ever used, so it need not exist at all. I've removed it and pushed the change to git. A new 7.x-1.x version of the module should show up in the next few hours.
The module will not automatically delete anything from your database. It has a UI that allows you to look at the variables that are causing problems (if any) and you can select to delete any or all of the ones causing a problem only.
Comment #2
tsvenson commentedThat got the submenu removed yes. Less confusion now, thanks.
I didn't thought it would delete things automatically, just that the lack of clarity made it a bit uncertain what it actually did.