WordPress.org

Support

Support » Plugins and Hacks » Polylang » Warning: Invalid Argument

Warning: Invalid Argument

  • Hello, I am using version 1.1.2. Whenever someone logs out from the site either as an admin or a regular user who has registered, they get this error message:

    Warning: Invalid argument supplied for foreach() in wp-content/plugins/polylang/include/core.php on line

    Can someone please help? Why is this warning showing up whenever someone logs out??

    http://wordpress.org/extend/plugins/polylang/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Chouby

    @chouby

    Could please precise the line? And check that this is not coming from a plugin conflict or a theme conflict?

    Hi Chouby,

    It is line 369.

    Yes, I will see about disabling plugins and switching themes. I just don’t know how easy that will be because there are a number of moving parts. And I don’t want to break something else while troubleshooting.

    🙁

    apparent problem with the installation of Theme My Login Settings

    Warning: Invalid argument supplied for foreach() in … core.php on line 369

    Plugin Author Chouby

    @chouby

    Thanks. I allowed to understand the issue. the next version will correct this.

    Hi Jeanda,

    How did you know that?! Pretty sure you are exactly spot on because we are using that plugin. Umm, how do you know??!!

    Thank you Chouby. Do you have estimate time of when the next version will be out? 🙂

    Plugin Author Chouby

    @chouby

    The correction is included in v1.1.3 released yesterday.

    Hi Chouby,

    Thanks for the release. That resolved the foreach() error on 369. BUT it still looks like there is a conflict between Theme My Login and Polylang.

    One one of my pages, it looks like it created a “logout” link that does not actually allow you to logout..

    When you click on logout, it takes you to a second prompt asking are you sure you want to, then when you click on Log Out, there is a message in your tab that says “WordPress Failure Notice”.

    Would you have any thoughts?

    Thank you again 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Warning: Invalid Argument’ is closed to new replies.
Skip to toolbar