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

Rory’s picture

Status: Active » Needs review

I 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)),

twom’s picture

Assigned: Unassigned » twom
Status: Needs review » Fixed

Thx for reporting this. I have committed this to the dev branch

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.