WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] Fatal error: Call to undefined function is_user_logged_i (7 posts)

  1. radi_v
    Member
    Posted 2 years ago #

    I am using Widget Logic plugin and WooCommerce on my site and when I set a widget with this logic is_user_logged_in() the website will throw an error:
    Fatal error: Call to undefined function is_user_logged_in() in /home/zxcvbnm/wp-content/plugins/widget-logic/widget_logic.php(270) : eval()'d code on line 1

    any other logic works but is_user_logged_in() or !is_user_logged_in()

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

  2. mikejolley
    Member
    Plugin Author

    Posted 2 years ago #

    I don't think this has anything to do with woocommerce.

  3. radi_v
    Member
    Posted 2 years ago #

    Well, it clearly does. :)

    If I activate WooCommerce the websites breaks and when I deactivate it it works fine.

    Now, I do not blame WC, I simply state that the two plugins do not work well together.

    Would you please at least look into it? The easiest thing is to say that WC has nothing to do with it...

    Thanks,
    Radi.

  4. mikejolley
    Member
    Plugin Author

    Posted 2 years ago #

    The reason I said that was is_user_logged_in() is a wordpress function and also has nothing to do with WC :)

    On what page are you seeing this error?

  5. radi_v
    Member
    Posted 2 years ago #

    On all front end pages. It's fine on the back end.

  6. mikejolley
    Member
    Plugin Author

    Posted 2 years ago #

  7. radi_v
    Member
    Posted 2 years ago #

    Thanks a lot Mike!

    When do you think there will be a new version with this fix?

    Should I wait for the fix in a new version or find the files and make these changes?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic