Closed (fixed)
Project:
Mobile Tools
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 Jan 2011 at 14:43 UTC
Updated:
5 Feb 2011 at 04:40 UTC
Warning: Missing argument 2 for variable_get(), called in /mobile_tools/mobile_tools.module on line 599 and defined in /includes/bootstrap.inc on line 584
I get this at random times on my site.
Comments
Comment #1
Rory commentedI solved the issue for myself by adding the missing argument as NULL (a meaningless value) so the function would send the expected number of arguments (two).
According to your error message in /mobile_tools/mobile_tools.module on line 599...
CHANGE:
'#default_value' => variable_get('default_nodes_main_mobile', variable_get('default_nodes_main')),
TO:
'#default_value' => variable_get('default_nodes_main_mobile', variable_get('default_nodes_main',NULL)),
Comment #2
twom commentedThx for reporting this. I have committed this to the dev branch