Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    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.

    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!!

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