Title: Fatal error: Uncaught ValueError: Path cannot be empty
Last modified: January 15, 2024

---

# Fatal error: Uncaught ValueError: Path cannot be empty

 *  Resolved [medatanai](https://wordpress.org/support/users/medatanai/)
 * (@medatanai)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-valueerror-path-cannot-be-empty/)
 * Hello. We have got this error on server. Without plugin – all works well.
 * Log:
 * Fatal error: Uncaught ValueError: Path cannot be empty in /var/www/html/wp-admin/
   includes/class-wp-filesystem-direct.php:66
   Stack trace: 0 /var/www/html/wp-admin/
   includes/class-wp-filesystem-direct.php(66): fopen(”, ‘wb’) 1 /var/www/html/wp-
   content/plugins/popup-maker/classes/Utils/Logging.php(286): WP_Filesystem_Direct-
   >put_contents(”, NULL, 420) 2 /var/www/html/wp-includes/class-wp-hook.php(324):
   PUM_Utils_Logging->save_logs(”) 3 /var/www/html/wp-includes/class-wp-hook.php(
   348): WP_Hook->apply_filters(NULL, Array) 4 /var/www/html/wp-includes/plugin.
   php(517): WP_Hook->do_action(Array) 5 /var/www/html/wp-includes/load.php(1260):
   do_action(‘shutdown’) 6 [internal function]: shutdown_action_hook() 7 {main} 
   thrown in /var/www/html/wp-admin/includes/class-wp-filesystem-direct.php on line
   66
 * WordPress version: 6.4.2
 * Popup Maker version: 1.18.2
 * Any tips about this error?

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

 *  [Israel Martins](https://wordpress.org/support/users/israelmartins/)
 * (@israelmartins)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-valueerror-path-cannot-be-empty/#post-17344237)
 * Hi [@medatanai](https://wordpress.org/support/users/medatanai/) ,
 * Sorry to know about the error.
 * When Popup Maker is active, is there a specific action you try to perform that
   causes the error?
 * Here are some helpful guides:
    - _Test if a Plugin or Theme Interferes with Popup Maker_:
      [https://docs.wppopupmaker.com/article/332-test-whether-a-plugin-or-theme-interferes-with-popup-maker](https://docs.wppopupmaker.com/article/332-test-whether-a-plugin-or-theme-interferes-with-popup-maker)
    - _Troubleshooting Your First Popup_:
      [https://docs.wppopupmaker.com/article/556-troubleshooting-your-first-popup](https://docs.wppopupmaker.com/article/556-troubleshooting-your-first-popup)
 * We’ll wait for your response.
 *  Thread Starter [medatanai](https://wordpress.org/support/users/medatanai/)
 * (@medatanai)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-valueerror-path-cannot-be-empty/#post-17346338)
 * “When Popup Maker is active, is there a specific action you try to perform that
   causes the error?”
   No, we even cannot load homepage (where i have cf7 form with
   popup after submit) and /wp-admin because of this. We disabled the plugin via
   the database. So, troubleshooting links doesn’t help.
 * Server configuration: Ubuntu, 4GB RAM, PHP 8.0.30
 * I’ve seen similar error here: [https://wordpress.org/support/topic/sigsegv-segmentation-fault/#post-17131518](https://wordpress.org/support/topic/sigsegv-segmentation-fault/#post-17131518)
   
   So, can you clarify how that problem was solved?
    -  This reply was modified 2 years, 5 months ago by [medatanai](https://wordpress.org/support/users/medatanai/).
    -  This reply was modified 2 years, 5 months ago by [medatanai](https://wordpress.org/support/users/medatanai/).
 *  Thread Starter [medatanai](https://wordpress.org/support/users/medatanai/)
 * (@medatanai)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-valueerror-path-cannot-be-empty/#post-17346364)
 * It also looks like there is a memory leak, we get this error:
 * Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate
   20971520 bytes) in /var/www/html/wp-includes/class-wp-hook.php on line 87 Fatal
   error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 81920
   bytes) in /var/www/html/wp-includes/pomo/mo.php on line 302
 *  [Israel Martins](https://wordpress.org/support/users/israelmartins/)
 * (@israelmartins)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-valueerror-path-cannot-be-empty/#post-17348539)
 * Hi [@medatanai](https://wordpress.org/support/users/medatanai/) ,
 * Thanks for the patience and feedback.
 * It could be that the server memory limit does not meet the minimum required by
   Popup Maker.
 * Kindly send us a message via [_Support Request – Popup Maker_](https://wppopupmaker.com/support/#submit-a-support-ticket)
   including the site information from:
 * “_WP Admin_” > “_Tools_” > “_Site Health_” > “_Info_” > “**Copy site info to 
   clipboard**” and send in a .txt file.
 * We’ll wait for your message.
 * Thanks!

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

The topic ‘Fatal error: Uncaught ValueError: Path cannot be empty’ is closed to 
new replies.

 * ![](https://ps.w.org/popup-maker/assets/icon-256x256.gif?rev=3097653)
 * [Popup Maker - Boost Sales, Conversions, Optins, Subscribers with the Ultimate WP Popup Builder](https://wordpress.org/plugins/popup-maker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/popup-maker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/popup-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/popup-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/popup-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/popup-maker/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Israel Martins](https://wordpress.org/support/users/israelmartins/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-valueerror-path-cannot-be-empty/#post-17348539)
 * Status: resolved