Invalid argument supplied for foreach()- ERROR

Discussion in 'Installation' started by vdgraaf, Oct 4, 2005.

  1. vdgraaf

    vdgraaf New Member

    Joined:
    Oct 4, 2005
    Messages:
    2
    PHP 4.3.10 (apache)
    MySQL 4.0.22-standard
    Optimization Pass 1 enabled
    Optimization Pass 2 enabled
    Optimization Pass 3 enabled
    Optimization Pass 4 enabled
    Optimization Pass 9 disabled
    Zend Loader enabled
    License Path no value

    When I go to Setup/Configuration, I ge this warning:

    Warning: Invalid argument supplied for foreach() in /home/myserver/public_html/amember/admin/setup.php on line 246

    ...and when I configure the Plugins,it does not save anything I am selecting there,giving the same error message:(

    That line(246) in setup.php is this:
    <small>You may modify these values later via the aMember Control Panel
    </small>

    HELP:)

    cheers,
    mike

    ps:
    And when I try to add a protected folder I get this:
    Warning: in_array(): Wrong datatype for second argument in /home/myserver/public_html/amember/admin/protection_methods.inc.php on line 27

Share This Page