WordPress.org

Ready to get started?Download WordPress

Forums

Theme My Login
invalid argument (14 posts)

  1. Anointed
    Member
    Posted 1 year ago #

    When I activate the 'enable themed profiles' module, I get a few dozen of the following notices on the top of my site

    Warning: Invalid argument supplied for foreach() in \wp-includes\post.php on line 3601

    deactivating the module removes the issue.

    also:
    checking the 'user moderation' module has no effect, it refreshes the page, but the box is no longer checked

    *using WP 3.5 multi-site

    http://wordpress.org/extend/plugins/theme-my-login/

  2. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year ago #

    Which WP and TML versions?

    Also, User Moderation is not compatible with multisite, as it already uses email confirmation.

  3. gouffy41
    Member
    Posted 1 year ago #

    Same issue here with 'enable themed profiles' module....

    WP 3.5.1 multisite
    TML 6.2.3

  4. bigspring
    Member
    Posted 1 year ago #

    Same for me too.

    WP 3.5.1 multisite
    TML 6.2.3

  5. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year ago #

    Some exact details of the errors would be useful...

  6. bigspring
    Member
    Posted 1 year ago #

    I can help, but let me know what you need to know.

    All I can say at the moment is that when viewing any page (front or back end), I see about 50 of the warnings posted by the OP. Disabling Theme my Login removes them.

    Happy to help debug.

  7. gouffy41
    Member
    Posted 1 year ago #

    The error comes when "Activer Custom User Links" and "Activer Themed Profiles" are activated both.

    Here is the error details:

    Warning: Invalid argument supplied for foreach() in \wp-includes\post.php on line 3601
    Warning: Cannot modify header information - headers already sent by (output started at /home/xxx-xxx/www/wp-includes/post.php:3601) in /home/xxx-xxx/www/wp-includes/pluggable.php on line 876

  8. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year ago #

    Would any of you be brave enough to test out the 6.3 beta and let me know if the problem still persists?

  9. bigspring
    Member
    Posted 1 year ago #

    We're happy to try - got a dev box we can try it on.

    Where can we get it from?

  10. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year ago #

  11. Jan.lipavsky@gmail.com
    Member
    Posted 1 year ago #

    When I try a plain instalation of WP 3.5.1 + TML 6.3 Beta - It works :)

    On my project (WP 3.5.1 + TML 6.3 Beta) the original bug is solved, however I am not able to logoff.
    Function wp_logout_url(); resolves in problem with _nonce.
    The generated url leads to site like this: /wp-login.php?_wpnonce=50efde7c4c

    Combination WP 3.5.1 + TML 6.2.3 resolves in the reported bug above.

  12. Jan.lipavsky@gmail.com
    Member
    Posted 1 year ago #

    Problem is with result of wp_logout_url();

    When plugin is active its generate wrong url, like this:
    /wp-login.php?_wpnonce=50efde7c4c

    When plugin is not active, its generate URL which works:
    /wp-login.php?action=logout&redirect_to=index.php&_wpnonce=43a289b322

    If i active plugin, and use second URL, it will log me out.

  13. BigDogSF
    Member
    Posted 1 year ago #

    Hi...I posted some of the same issues on Jeffs support page...but having these issues:

    1. Unable to log out as you have outlined above
    2. The pages are showing as created in the plugin directory but do not show up in my sites pages and when I try to view one of the automatically created pages I get a 404
    3. When I deactivated and tried to delete the plugin gave me a message to deactivate and could not delete from wp admin..ended up deleting via FTP.

    Will

  14. horburygoffe
    Member
    Posted 1 year ago #

    I had this problem. Disabling 'Theme My Login' plugin worked for me.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.