• I was previously able to install updates with no issue, but now receive the following error on one of my sites.

    “PHP has encountered a Stack overflow”

    Here is what I did to no avail:
    1. Set memory_limit in PHP.INI to 512M (was not set previously)

    2. Added the following 2 lines to wp-config.php (was not set previously)
    define(‘WP_MEMORY_LIMIT’, ‘120M’);
    define(‘WP_MAX_MEMORY_LIMIT’, ‘256M’);
    (Note, I tried 64M, then 96M, and finally 120M. I even tried without the maximum memory limit setting too.)

    3. I disabled all plug-ins before trying the update as well.

    All actions so far yield the same.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Stack overflow is usually a loop that is endless.
    So setting a higher memory limit usually wont solve the problem as the while or for loop will go on and on …

    Error when you visit the site or when you update?
    Link to your site?

    Thread Starter sarah.weinberger

    (@sarahweinberger)

    On an update. The site is fine and has been fine.

    Site: blog.jobfish.com

    Any endless loop or other coding issue is a bug with WordPress 4.2.1, as I deactivated all plugins (for now).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘4.2.2 Update Failure: PHP has encountered a Stack overflow’ is closed to new replies.