• Resolved diedesignernet

    (@diedesignernet)


    Hello everyone,
    I am very enthusiastic about the plugin and will soon get the Pro version. I have used it successfully in my online store.

    Now I get an error, but I can’t imagine where it comes from. Maybe you have a tip for me?

    4306173 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/woo-save-abandoned-carts/public/class-cartbounty-public.php:934
    Stack trace: 0 wp-includes/class-wp-hook.php(324): CartBounty_Public->restore_block_checkout_fields() 1 wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 2 wp-includes/plugin.php(517): WP_Hook->do_action() 3 wp-includes/load.php(1279): do_action() 4 [internal function]: shutdown_action_hook() 5 {main}

    thrown in wp-content/plugins/woo-save-abandoned-carts/public/class-cartbounty-public.php on line 934″ while reading upstream

    I look forward to hearing from you. Many thanks in advance for your efforts.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Nauriskolats

    (@nauriskolats)

    Hi @diedesignernet, the function that is causing the error is actually default WordPress function is_user_logged_in() and it should be defined as long as WordPress core features have loaded.

    Sounds like CartBounty is trying to restore abandoned cart in a Block checkout that you are using and while doing it, for some reason it fires before WordPress core has loaded. Sounds like it could be some Theme issue or might do something with Block checkout if you are using some plugin to customize it.

    Are you able to reproduce this by trying to restore abandoned cart?

    Plugin Contributor Nauriskolats

    (@nauriskolats)

    Hi @diedesignernet, we have added additional function into CartBounty v.8.7 existence check before running is_user_logged_in() function so the error should no longer be popping up. Let us know if the issue still persists.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Fatal error’ is closed to new replies.