WordPress.org

Ready to get started?Download WordPress

Forums

Polylang
Warning: Invalid Argument (8 posts)

  1. SethO
    Member
    Posted 1 year ago #

    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/

  2. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

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

  3. SethO
    Member
    Posted 1 year ago #

    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.

    :(

  4. jeanda
    Member
    Posted 1 year ago #

    apparent problem with the installation of Theme My Login Settings

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

  5. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

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

  6. SethO
    Member
    Posted 1 year ago #

    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? :)

  7. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    The correction is included in v1.1.3 released yesterday.

  8. SethO
    Member
    Posted 1 year ago #

    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 :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic