• Resolved iandoner9

    (@iandoner9)


    Hi there,

    We are having issues where customers receive a red error message when they place an order on our checkout page. Despite the error message, the order still goes through on our wp-dashboard. This leads to a bunch of duplicate transactions. I already reached out to our payment plug in and they told me to check the fatal-error logs:

    2025-06-09T00:39:47+00:00Critical Uncaught TypeError: get_object_vars(): Argument #1 ($object) must be of type object, null given in /data/user18/2024/259/80956/wordpress/.8ac38d6ef9420ac2980c0311f6ae1ec2/wp-content/plugins/wp-optimize/vendor/team-updraft/common-libs/src/updraft-tasks/class-updraft-task.php:91 Additional context{ “error”: { “type”: 1, “file”: “/data/user18/2024/259/80956/wordpress/.8ac38d6ef9420ac2980c0311f6ae1ec2/wp-content/plugins/wp-optimize/vendor/team-updraft/common-libs/src/updraft-tasks/class-updraft-task.php”, “line”: 91 }, “remote-logging”: true, “backtrace”: [ “”, “#0 /data/user18/2024/259/80956/wordpress/.8ac38d6ef9420ac2980c0311f6ae1ec2/wp-content/plugins/wp-optimize/vendor/team-updraft/common-libs/src/updraft-tasks/class-updraft-task.php(91): get_object_vars()”, “#1 /data/user18/2024/259/80956/wordpress/.8ac38d6ef9420ac2980c0311f6ae1ec2/wp-content/plugins/wp-optimize/vendor/team-updraft/common-libs/src/updraft-tasks/class-updraft-task.php(680): Updraft_Task_1_2->__construct()”, “#2 /data/user18/2024/259/80956/wordpress/.8ac38d6ef9420ac2980c0311f6ae1ec2/wp-content/plugins/wp-optimize/cache/class-wp-optimize-page-cache-preloader.php(222): Updraft_Task_1_2::create_task()”, “#3 /data/user18/2024/259/80956/wordpress/.8ac38d6ef9420ac2980c0311f6ae1ec2/wp-content/plugins/wp-optimize/includes/class-wp-optimize-preloader.php(132): WP_Optimize_Page_Cache_Preloader->create_tasks_for_preload_site_urls()”, “#4 /data/user18/2024/259/80956/wordpress/.8ac38d6ef9420ac2980c0311f6ae1ec2/wp-content/plugins/wp-optimize/cache/class-wp-optimize-page-cache-preloader.php(175): WP_Optimize_Preloader->run()”, “#5 /data/user18/2024/259/80956/wordpress/.8ac38d6ef9420ac2980c0311f6ae1ec2/wp-includes/class-wp-hook.php(324): WP_Optimize_Page_Cache_Preloader->run_preload_cron_job()”, “#6 /data/user18/2024/259/80956/wordpress/.8ac38d6ef9420ac2980c0311f6ae1ec2/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()”, “#7 /data/user18/2024/259/80956/wordpress/.8ac38d6ef9420ac2980c0311f6ae1ec2/wp-includes/plugin.php(565): WP_Hook->do_action()”, “#8 /data/user18/2024/259/80956/wordpress/.8ac38d6ef9420ac2980c0311f6ae1ec2/wp-cron.php(191): do_action_ref_array()”, “#9 {main}”, “thrown” ]

    Any suggestions on how to resolve this issue would be greatly appreciated!

    Ian

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Damilare

    (@deabiodun)

    Hi @iandoner9!
    Sorry about the error you’re experiencing on your site.
    Does the issue persist when caching is disabled?

    Thread Starter iandoner9

    (@iandoner9)

    Hi Damilare,

    Thanks for the quick response. To answer your question, I don’t know. Won’t disabling caching slow down the load times significantly on my website?

    Thanks, Ian

    Plugin Support Damilare

    (@deabiodun)

    Hi!
    Disabling page caching is supposed to be temporary and only for troubleshooting purposes.
    Once we’ve confirmed which feature is causing the issue, we can now drill further into available options to find a suitable solution

    Let us know what you find.

    Regards.

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

The topic ‘Errors on Checkout’ is closed to new replies.