I have drupal 6, i got the following error during installation:

Missing argument 2 for variable_get(), called in modules/selectbox/selectbox.module on line 12 and defined in /home/magrudys/public_html/latest/includes/bootstrap.inc on line 502.

Comments

sumaiyajaved’s picture

got it

go to line if ($theme == variable_get('admin_theme'))
and make it
if ($theme == variable_get('admin_theme', NULL))

now further testing the module, hope it works (fingers crossed)

humansky’s picture

Status: Active » Postponed (maintainer needs more info)

Let me know if your above code works and I will port it to the 6.x-1.x branch.

cobadger’s picture

Status: Postponed (maintainer needs more info) » Reviewed & tested by the community

I was experiencing the same error and used the change in comment #1; the error is no longer displaying.

Seems as though the code works as corrected.

  • humansky committed 897762d on 6.x-1.x
    Issue #1900108 by sumaiyajaved: Fixing installation error
    
humansky’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Fixed

  • humansky committed dd59bbf on 7.x-1.x
    Issue #1900108 by sumaiyajaved: Fixing installation error
    

Status: Fixed » Closed (fixed)

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