I stand corrected, it works if and only if ‘Update Value for All Current Users’ is checked
This bug is fixed in version 2.0.6. Thanks for the bug report!
could you explain why that happened? and solved?
since i have some similar experience in my code..
Warning: Invalid argument supplied for foreach()
Foreach expects the first argument to be an array.
Example:
$variable = “Some text”;
foreach($variable as $key => $value)
This error indicates $variable is not an array and therefore cannot be used in a loop.
To fix it, you must supply an array for $variable.
Example:
$variable = array(“key1” => “Some text”, “key2” => “Some text”);
foreach($variable as $key => $value)