• Resolved jdisenso

    (@jdisenso)


    As of August 10, 2022 the RSS feed from our website is no longer valid. The only change we’ve made is the PHP version, moving from 7.4 to 8.0. Can this plugin no longer validate the RSS feed on PHP 8.0 or should I be looking at something else?

    Thanks so much!

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • I had the same problem so I checked the debug.log and I got:

    PHP Fatal error: Unparenthesizeda ? b : c ? d : eis not supported. Use either(a ? b : c) ? d : eora ? b : (c ? d : e)in wordpress/wp-content/plugins/sermon-manager-for-wordpress/views/wpfc-podcast-feed.php on line 165

    So I added parentheses in line 165 so it looks like this:

    'terms' => is_numeric( $terms ) ? intval( $terms ) : (false !== strpos( $terms, ',' ) ? array_map( 'sanitize_title', explode( ',', $terms ) ) : sanitize_title( $terms )),

    This fixed the error for me.

    Hope this helps.

    My feed has stopped working,
    I noticed this week that the last message uploaded did not make it to feedburner
    When I check the feed I get this message:

    This page contains the following errors:

    error on line 2 at column 1: Document is empty
    Below is a rendering of the page up to the first error.

    Any idea what I can do?

    Thread Starter jdisenso

    (@jdisenso)

    @tschejkob Thank you for this code! It worked perfectly for me. My only hope is Sermon Manager includes this in the next update. Thanks again!

    Thread Starter jdisenso

    (@jdisenso)

    @ccb200 I’m at a loss on what might contribute to this error. Have you implemented the solution @tschejkob provided?

    Where and how do I add this?

    @tschejkob, that worked perfectly! Thanks for discovering that! Hopefully they’ll include in the next release.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘RSS feed not working with PHP 8.0’ is closed to new replies.