WordPress.org

Forums

Ridizain
[resolved] Fatal error: Call to undefined function is_bbpress() in /homepages/29/d396079510 (5 posts)

  1. slake
    Member
    Posted 2 years ago #

    Getting this error:

    Fatal error: Call to undefined function is_bbpress() in /homepages/29/d396079510/htdocs/wpscmg/wp-content/themes/ridizain/functions.php on line 653

    Is bbPress required for this Theme to work? After installing bbPress it works fine.

  2. sdavis2702
    Member
    Posted 2 years ago #

    It looks like the theme expects bbPress to be installed and activated, yes. It should actually check for that first, though.

    Line 653 currently reads:

    || is_bbpress()

    Instead, it should be:

    || ( class_exists( 'bbPress' ) && is_bbpress() )

    With that change in place, it'll make sure bbPress is there before it does anything bbPress related. You can make that change in the file yourself but the theme author will need to bake that into the theme for the next update.

  3. Brian Harris
    Member
    Theme Author

    Posted 2 years ago #

    @sdavis - thanks for jumping in with a solution :)

    Just pushed a revised version with the check in place and I apologize for the oversight.

    A copy is available here: http://wordpress.org/themes/ridizain/developers/ under the current version section - v1.0.33.

  4. sdavis2702
    Member
    Posted 2 years ago #

    Glad you got it taken care of! That was fast (like it should be) lol. *thumbs up*

  5. Brian Harris
    Member
    Theme Author

    Posted 2 years ago #

    Cheers :)

    Revised version is now live - closing thread as resolved.

    Zulf

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.