• Resolved bearstar

    (@bearstar)


    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

    (@keleigh824)

    Hi @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

    (@bearstar)

    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

    (@zahardoc)

    Hi @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

    (@bearstar)

    Hi there, The site is https://khns.org and the podcast link is at https://khns.org/podcast

    I believe we are self-hosting.

    Plugin Author Serhiy Zakharchenko

    (@zahardoc)

    @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

    (@bearstar)

    We are using WP Offload Media with an account on AWS S3 and that plugin renames the file paths.

    Plugin Author Serhiy Zakharchenko

    (@zahardoc)

    Thank you @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.