Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter russtuck91

    (@russtuck91)

    I stand corrected, it works if and only if ‘Update Value for All Current Users’ is checked

    Plugin Author Jason Lau

    (@jason-lau)

    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..

    Plugin Author Jason Lau

    (@jason-lau)

    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)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Foreach error when editing metadata’ is closed to new replies.