Title: Fatal Error: Path Cannot be Empty
Last modified: June 25, 2024

---

# Fatal Error: Path Cannot be Empty

 *  Resolved [bearstar](https://wordpress.org/support/users/bearstar/)
 * (@bearstar)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/fatal-error-path-cannot-be-empty-2/)
 * PHP Fatal error: Uncaught ValueError: Path cannot be empty in public_html/wp-
   content/plugins/seriously-simple-podcasting/php/includes/ssp-functions.php:675
 * The line in question is:
 * $handle = fopen( $file, ‘r’ );
   if ( false === $handle ) {return false;}
 * Any tips on how to fix that?

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

 *  Plugin Support [keleigh824](https://wordpress.org/support/users/keleigh824/)
 * (@keleigh824)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/fatal-error-path-cannot-be-empty-2/#post-17850102)
 * Hi [@bearstar](https://wordpress.org/support/users/bearstar/), can you share 
   what version of WordPress and Seriously Simple Podcasting you’re using? Also,
   where are you seeing this error? In the WP Admin area?
 *  Thread Starter [bearstar](https://wordpress.org/support/users/bearstar/)
 * (@bearstar)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/fatal-error-path-cannot-be-empty-2/#post-17850108)
 * The error is in the error log at the webroot.
 * WP: 6.5.5 running PHP 8.2.18 on Bluehost
 * SSP: 3.4.0
 *  Plugin Author [Serhiy Zakharchenko](https://wordpress.org/support/users/zahardoc/)
 * (@zahardoc)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/fatal-error-path-cannot-be-empty-2/#post-17851764)
 * Hi [@bearstar](https://wordpress.org/support/users/bearstar/),
 * Thank you for bringing this to our attention. We’ll add some checks to ensure
   the fatal error doesn’t occur.
 * Also, it seems like some of your episode file settings might be empty, causing
   the issue. Could you please share your site URL? Additionally, do you host your
   files with Castos or are they self-hosted?
 * Best regards,
   Serhiy
 *  Thread Starter [bearstar](https://wordpress.org/support/users/bearstar/)
 * (@bearstar)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/fatal-error-path-cannot-be-empty-2/#post-17852513)
 * Hi there, The site is [https://khns.org](https://khns.org) and the podcast link
   is at [https://khns.org/podcast](https://khns.org/podcast)
 * I believe we are self-hosting.
 *  Plugin Author [Serhiy Zakharchenko](https://wordpress.org/support/users/zahardoc/)
 * (@zahardoc)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/fatal-error-path-cannot-be-empty-2/#post-17856891)
 * [@bearstar](https://wordpress.org/support/users/bearstar/) 
   It’s difficult to
   say why “Path cannot be empty” error is happening there. This issue can arise
   if the episode file hasn’t been properly set up. Additionally, I noticed that
   the download button on your site isn’t functioning correctly for all episodes.
   This might be due to another piece of code overwriting the file path before the
   download function is called. It’s also possible that this issue is related to
   your custom file path configuration, as I see you are using AWS for file storage.
   Did you intentionally customize the file path for AWS?Best regards,Serhiy.
 *  Thread Starter [bearstar](https://wordpress.org/support/users/bearstar/)
 * (@bearstar)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/fatal-error-path-cannot-be-empty-2/#post-17856918)
 * We are using WP Offload Media with an account on AWS S3 and that plugin renames
   the file paths.
 *  Plugin Author [Serhiy Zakharchenko](https://wordpress.org/support/users/zahardoc/)
 * (@zahardoc)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/fatal-error-path-cannot-be-empty-2/#post-17867040)
 * Thank you [@bearstar](https://wordpress.org/support/users/bearstar/),
   We’ll try
   to investigate and fix this issue in the next plugin releases.

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

The topic ‘Fatal Error: Path Cannot be Empty’ is closed to new replies.

 * ![](https://ps.w.org/seriously-simple-podcasting/assets/icon-256x256.png?rev=
   970355)
 * [Seriously Simple Podcasting](https://wordpress.org/plugins/seriously-simple-podcasting/)
 * [Support Threads](https://wordpress.org/support/plugin/seriously-simple-podcasting/)
 * [Active Topics](https://wordpress.org/support/plugin/seriously-simple-podcasting/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/seriously-simple-podcasting/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/seriously-simple-podcasting/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [Serhiy Zakharchenko](https://wordpress.org/support/users/zahardoc/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/fatal-error-path-cannot-be-empty-2/#post-17867040)
 * Status: resolved