WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. slake
    Member
    Posted 3 months 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 3 months 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. Zulfikar Nore
    Member
    Theme Author

    Posted 3 months 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 3 months ago #

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

  5. Zulfikar Nore
    Member
    Theme Author

    Posted 3 months ago #

    Cheers :)

    Revised version is now live - closing thread as resolved.

    Zulf

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.