Title: Critical Uncaught Error
Last modified: November 28, 2018

---

# Critical Uncaught Error

 *  Resolved [displaydev](https://wordpress.org/support/users/displaysales/)
 * (@displaysales)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/critical-uncaught-error-7/)
 * I am currently seeing the current error on our website with the plugin. Please
   advise when possible.
 *     ```
       CRITICAL Uncaught Error: Call to a member function get_cart_url() on null in /home/./public_html/wp-content/plugins/easy-upload-files-during-checkout/inc/functions.php:186
   
       Stack trace:
       #0 /home/./public_html/wp-includes/class-wp-hook.php(286): wufdc_enqueue_script('')
   
       #1 /home/./public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
   
       #2 /home/./public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
   
       #3 /home/./public_html/wp-includes/script-loader.php(1447): do_action('wp_enqueue_scri...')
   
       #4 /home/./public_html/wp-includes/class-wp-hook.php(286): wp_enqueue_scripts('')
   
       #5 /home/./public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
   
       #6 /home/./public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
   
       #7 /home/./public_html/wp-includes/general-template.php(2614): do_action('wp_head')
   
       #8 /home/./public_html/wp-content/themes/jupiter-c in /home/./public_html/wp-content/plugins/easy-upload-files-during-checkout/inc/functions.php on line 186
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Author [Fahad Mahmood](https://wordpress.org/support/users/fahadmahmood/)
 * (@fahadmahmood)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/critical-uncaught-error-7/#post-10927006)
 * I have released another version with this fix, please try 1.7.0 and update me.

Viewing 1 replies (of 1 total)

The topic ‘Critical Uncaught Error’ is closed to new replies.

 * ![](https://ps.w.org/easy-upload-files-during-checkout/assets/icon-256x256.gif?
   rev=2276378)
 * [Easy Upload Files During Checkout](https://wordpress.org/plugins/easy-upload-files-during-checkout/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-upload-files-during-checkout/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-upload-files-during-checkout/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-upload-files-during-checkout/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-upload-files-during-checkout/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-upload-files-during-checkout/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Fahad Mahmood](https://wordpress.org/support/users/fahadmahmood/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/critical-uncaught-error-7/#post-10927006)
 * Status: resolved