Support » Plugin: Custom Login » "Invalid argument supplied for foreach()" error line in WP Dashboard

  • Resolved Porky

    (@greasyisrael)



    Hi,
    After updating to Custom Login 3.0.2 I’m having this issue of an error line in my WordPress Dashboard:
    “Invalid argument supplied for foreach() in [MY-PATH]\wp-content\plugins\custom-login\includes\functions.php on line 17”
    Any idea what might have caused it and how can I fix it?

    It worked perfectly in previous versions, but after updating to 3.0.2 I started receiving this error message.

    Thank you,
    Porky

    https://wordpress.org/plugins/custom-login/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Austin Passy

    (@austyfrosty)

    Hmm, that’s strange. It’s just getting editable roles. I’ll look into this.

    Plugin Author Austin Passy

    (@austyfrosty)

    I’ve added an array check to make sure this error doesn’t happen, just not sure why it’s happening in the first place.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘"Invalid argument supplied for foreach()" error line in WP Dashboard’ is closed to new replies.