Title: Error message: Uncaught ValueError: Path cannot be empty in
Last modified: February 7, 2025

---

# Error message: Uncaught ValueError: Path cannot be empty in

 *  Resolved [aryanbhatt](https://wordpress.org/support/users/aryanbhatt/)
 * (@aryanbhatt)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/error-message-uncaught-valueerror-path-cannot-be-empty-in/)
 * When seeking help with this issue, you may be asked for some of the following
   information:
   WordPress version 6.7.1Active theme: SIU (version 1.0.0)Current 
   plugin: User Registration & Membership (version 4.0)PHP version 8.1.31
 * Error Details
   =============An error of type E_ERROR was caused in line 8058 of
   the file /var/www/html/wp-content/plugins/user-registration/includes/functions-
   ur-core.php. Error message: Uncaught ValueError: Path cannot be empty in /var/
   www/html/wp-content/plugins/user-registration/includes/functions-ur-core.php:
   8058Stack trace:#0 /var/www/html/wp-content/plugins/user-registration/includes/
   functions-ur-core.php(8058): file_get_contents(”)#1 /var/www/html/wp-includes/
   class-wp-hook.php(324): ur_find_my_account_in_custom_template(‘0’, 5)#2 /var/
   www/html/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘0’, Array)#3 /var/
   www/html/wp-content/plugins/user-registration/includes/functions-ur-core.php(
   3329): apply_filters(‘user_registrati…’, ‘0’, 5)#4 /var/www/html/wp-content/plugins/
   user-registration/includes/admin/notifications/class-ur-admin-notices.php(103):
   ur_find_my_account_in_page(5)#5 /var/www/html/wp-includes/class-wp-hook.php(324):
   UR_Admin_Notices::user_registration_install_pages_notice(”)#6 /var/www/html/wp-
   includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)#7 /var/www/
   html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)#8 /var/www/html/wp-
   admin/admin-ajax.php(45): do_action(‘admin_init’)#9 {main}  thrown

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

 *  Plugin Support [Amrit Kumar Shrestha](https://wordpress.org/support/users/shresthauzwal/)
 * (@shresthauzwal)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/error-message-uncaught-valueerror-path-cannot-be-empty-in/#post-18291460)
 * Hi [@aryanbhatt](https://wordpress.org/support/users/aryanbhatt/),
   Thank you 
   for the information.
 * We will soon release a patch version of the plugin to fix this issue.
 * Best regards!
 *  Plugin Support [Amrit Kumar Shrestha](https://wordpress.org/support/users/shresthauzwal/)
 * (@shresthauzwal)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/error-message-uncaught-valueerror-path-cannot-be-empty-in/#post-18298862)
 * Hi [@aryanbhatt](https://wordpress.org/support/users/aryanbhatt/),
   Please update
   the latest version plugin to fix this issue.Best Regards!

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

The topic ‘Error message: Uncaught ValueError: Path cannot be empty in’ is closed
to new replies.

 * ![](https://ps.w.org/user-registration/assets/icon-256x256.gif?rev=3284028)
 * [User Registration & Membership - Free & Paid Memberships, Subscriptions, Content Restriction, User Profile, Custom User Registration & Login Builder](https://wordpress.org/plugins/user-registration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-registration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-registration/)
 * [Active Topics](https://wordpress.org/support/plugin/user-registration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-registration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-registration/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Amrit Kumar Shrestha](https://wordpress.org/support/users/shresthauzwal/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/error-message-uncaught-valueerror-path-cannot-be-empty-in/#post-18298862)
 * Status: resolved