• Here’s the Error Message:

    Fatal error: Call to undefined function wp_get_current_user() in /home/nerdagol/www/modulaire.eu/wp-content/plugins/product-visibility-by-user-role-for-woocommerce-pro/includes/class-alg-wc-pvbur-core.php on line 206

    • This topic was modified 7 years, 3 months ago by btkfr.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @btkfr,

    Hmm, that’s strange – there was no such error when I tested it on my server. Anyway – will check that first thing tomorrow morning.

    Best regards,
    Tom

    Hi @btkfr,

    We’ve just released new version 1.1.4. Please update and please let me know if it’s ok now. To be honest I didn’t manage to reproduce the error on my test server – it seems to be working fine with “Modify query” option enabled – but looking at your message I think I’ve managed to add extra checks to prevent this error.

    Best regards,
    Tom

    Thread Starter btkfr

    (@btkfr)

    Thanks a lot Tom. It seems to work now. Maybe it had something to do with the caching plugin and the product’s visibility status. It was set to private before I started testing the “Modify query” option.

    Best, Phil

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error when “Modify query” is enabled’ is closed to new replies.