• Resolved lifestylestuffdotguru

    (@lifestylestuffdotguru)


    Hi SSP Team, thank you for an amazing plugin!

    I was trying to figure out where the podcasts all “go”, https://domain/podcast, and it wouldn’t bring anything up.

    I pottered over to the general setttings, and unticked “posts”.

    Which, unceremoniously, brought up the error above.

    If i cut the ssp folders out of the /plugins directory, the site comes up.
    If i put it back, it dies again.
    I’m not sure how to “undo” the setting with the site “down”…

    Please help, I’m like UBER excited to get the podcasts up on my site.

    warm regards

    Symi

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter lifestylestuffdotguru

    (@lifestylestuffdotguru)

    i managed to break these robust plugins by fidgeting with the post type where the podcasts appear.

    here’s the fix in the code from wpmudev’s ashok.
    who helped me get my site back up.

    Go to line no 310 to 312 of public_html/wp-content/plugins/seriously-simple-podcasting/includes/ssp-functions.php – and you will see this:

    if ( $include_podcast ) {
    $podcast_post_types[] = ‘podcast’;
    }

    Replace that with the following:

    if ( $include_podcast ) {
    $podcast_post_types = array();
    $podcast_post_types[] = ‘podcast’;
    }

    Ashok commented:

    In line 307, they declared the variable as string:

    $podcast_post_types = get_option( ‘ss_podcasting_use_post_types’, array() );

    So, later if they want to use $podcast_post_types as an array they need to declare it first and then they can use an array.

    thanks for neat coding, that makes it easy to troubleshoot.
    and thanks for your vision in making this available.

    WHOOHOO!!

    Thread Starter lifestylestuffdotguru

    (@lifestylestuffdotguru)

    just ran the update to the latest version of ssp and the http:// 500 error reoccurred.
    🙂

    please will you implement these changes in the next update?
    tx.

    Symi.

    Hi Symi,

    Thank you for using Seriously Simple Podcasting.

    I apologize for only reaching out to you now – I have pinged our lead developer to look into this and implement it in the near future.

    I’m sure we will be able to push a fix within the next update.

    Thank you for your patience.

    Plugin Contributor Jonathan Bossenger

    (@psykro)

    Hi Symi

    Can I ask you to define the problem you are experiencing with the plugin.

    Please detail the exact steps to replicate the problem so that I can investigate and determine the correct fix.

    Thanks

    Thread Starter lifestylestuffdotguru

    (@lifestylestuffdotguru)

    Hi Jonathan,

    I’m including some bits of debug file here for you? Hope this helps:

    [17-Apr-2017 16:25:12 UTC] PHP Fatal error: Uncaught Error: [] operator not supported for strings in /home/username/public_html/wp-content/plugins/seriously-simple-podcasting/includes/ssp-functions.php:311
    Stack trace:
    #0 /home/username/public_html/wp-content/plugins/seriously-simple-podcasting/includes/class-ssp-admin.php(196): ssp_post_types(true)
    #1 /home/username/public_html/wp-content/plugins/seriously-simple-podcasting/includes/class-ssp-admin.php(186): SSP_Admin->register_taxonomies()
    #2 /home/username/public_html/wp-content/plugins/seriously-simple-podcasting/includes/class-ssp-admin.php(900): SSP_Admin->register_post_type()
    #3 /home/username/public_html/wp-includes/class-wp-hook.php(298): SSP_Admin->activate(false)
    #4 /home/username/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array)
    #5 /home/username/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #6 /home/username/public_html/wp-admin/includes/plugin.php(591): do_action(‘activate_seriou…’, false)
    #7 /home/username/ in /home/hackinglife/public_html/wp-content/plugins/seriously-simple-podcasting/includes/ssp-functions.php on line 311

    ====

    The http500 error came about when the podcast installation had been working, i unticked the post type “posts” in the setup, and it fell over.the site came up on removing the plugin’s folder out of /plugins, but – on putting it back, re-activating had the same result.
    so i couldn’t get “into” the settings to undo what i did to fix it.

    🙂

    hope that makes sense.

    Thanks for this. I have experienced an issue similar to this with one of my plugins I’ve created before.

    This is an older PHP version I believe, what PHP version are you using? WordPress recommends PHP V7, but I know the minimum requirement is around 5.4 but I would recommend at least PHP v5.6 or higher.

    Please keep me posted.

    Plugin Contributor Jonathan Bossenger

    (@psykro)

    Hi Symi, thanks for the update.

    As Andrew has mentioned, can you let us know what version of PHP are you currently using?

    Thanks

    Hi!

    I had the same error on a site i work with around a month ago. Here the site at some point turned unreachable, giving the http500 error. In Podcast post types posts and all other alternatives are unticked. After removing SSP the site went online again.

    Now, with the latest updates of the plugins, there seems to be no errors with SSP activated. Checking the ssp-functions.php -file shows that these lines

    if ( $include_podcast ) {
    $podcast_post_types[] = ‘podcast’;
    }

    have moved to around line 351-354 (v. 1.16.3)

    Is the error fixed, or do i need to add “$podcast_post_types = array();”
    inside the if statement? Sorry, i’m quite uncomfortable with php editing.

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

The topic ‘This page isn’t working – HTTP error 500’ is closed to new replies.