WordPress.org

Support

Support » Multisite » How can I resolve PHP Fatal errors?

How can I resolve PHP Fatal errors?

  • PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 54071 bytes) in /home2/z/public_html/wp-includes/functions.php on line 316

    PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 7680 bytes) in /home2/z/public_html/wp-admin/includes/deprecated.php on line 685

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

    I have lots of other errors showing in my error logs like this too
    ) DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci made by wp_upgrade, make_db_current_silent, dbDelta

    Any suggestions on how I can correct these?

    Oh, I did add this line to my cache sometime back
    ini_set(‘memory_limit’,’64M’); // set memory to prevent fatal errors

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Jan Dembowski

    @jdembowski

    Brute Squad and Volunteer Moderator

    Must be out of memory day… I’m going to recycle the answer I posted a few minutes ago.

    http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

    PHP Fatal error: Allowed memory size of 67108864 bytes exhausted

    That’s a lot of memory you’ve allocated in the php.ini file so something is not playing nicely on your client’s system.

    Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Eleven theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    If the memory issue goes away after you’ve deactivated everything (it will) then reactivate the plugins one at a time until you run out of memory again. That may help you find the problem software.

    Thanks.

    I had already done what was in the codex, but things were still hinky. I will follow your suggestions and see what happens.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How can I resolve PHP Fatal errors?’ is closed to new replies.
Skip to toolbar