Skip to:

Getting a php fatal error with bp-core-functions

  • I keep getting this error repeatedly over that last few days and I don’t know how to fix it.

    PHP Fatal error: Call to a member function set_404() on a non-object in /home2/zetaport/public_html/wp-content/plugins/buddypress/bp-core/bp-core-functions.php on line 1470

    Yesterday I got this error too
    PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 37708 bytes) in /home2/zetaport/public_html/wp-includes/functions.php on line 316

    I’m using
    WordPress 3.4.1
    BuddyPress Version 1.5.6
    mulitsite install, root install, new install
    using with suffusion theme and suffusion bp pack
    The only modification I have made was to increase cache memory
    on bluehost

    other plugins I’m running
    BP Group Hierarchy
    BP Group Organizer
    BP MyMood
    BP Registration Groups
    Dashboard: Pending Review
    FD Feedburner Plugin
    Google Analytics for WordPress
    Lightbox Plus
    Multisite User Management
    Q and A
    Quick Cache
    Spam Free WordPress
    Suffusion BP Pack
    Theme My Login
    User Role Editor
    WP DatabseBackup
    WP About Author

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

  • Tammie Lister


    Probably a good first step would be to ease some of the load and one by one remove those plugins – or remove them all add back in one by one. I find with errors like this often stripping back will help.

    You could also ‘sanity’ check your theme by setting to the default BuddyPress theme – of course if a live community you may not be able to do this.

    Roger Coathup


    >>> Yesterday I got this error too
    >>> PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 37708 bytes) in >>> /home2/zetaport/public_html/wp-includes/functions.php on line 316

    Try increasing your PHP memory allocation, and start from there.


    I had deactivated my plugins and then started to re-add them one by one. It is not an active community. It’s a a brand new site. I think I readded them to quickly, but I will try the reverse -to deactivate one by one.

    Oh and I did increase the memory allocation adding the line recommended in the codex and forums a few weeks ago.

    Roger Coathup


    try increasing the memory via your php.ini file, not via wp-config.php

    It’s clear from the error message above that your site is exceeding it’s PHP memory limit.

    Will do. But, um, where do I find it. I can’t seem to find it (the php.ini file). Should I remove the
    define(‘WP_MEMORY_LIMIT’, ’64M’);

    from the wp-confige.php?

    What seems to have worked as least not errors today. The buddypress addons (BP Group Hierarchy, BP Group Organizer, BP Registration Groups) I activated them to the main site not network activate. The mymood stopped working so I deleted it.

    I also discovered two plugins were throwing errors (theme my login and contextual related post). So, deleted them too.

    Now, I’m not doing anything for a good 24 hours (other than add posts) and see it that holds.

    I continued to get the first error, but managed to get rid of the the memory problem. I continued to experiment and not it has been over 15 hours without and error. BP Group Hierarchy seems to be the trouble maker.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Getting a php fatal error with bp-core-functions’ is closed to new replies.
Skip to toolbar