WordPress.org

Support

Support » Themes and Templates » Ridizain » [Resolved] Fatal error: Call to undefined function is_bbpress() in /homepages/29/d396079510

[Resolved] Fatal error: Call to undefined function is_bbpress() in /homepages/29/d396079510

  • 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.

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

    Theme Author Brian Harris

    @zgani

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

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

    Theme Author Brian Harris

    @zgani

    Cheers 🙂

    Revised version is now live – closing thread as resolved.

    Zulf

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Fatal error: Call to undefined function is_bbpress() in /homepages/29/d396079510’ is closed to new replies.
Skip to toolbar