WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Fatal error ... wordpress-seo/admin/ajax.php on line 59 (2 posts)

  1. tettinx
    Member
    Posted 3 years ago #

    When I click the rebuild XML sitemap button I get this error:
    ---
    Fatal error: Call to undefined function: memory_get_usage() in /home/tettinx/public_html/blog/wp-content/plugins/wordpress-seo/admin/ajax.php on line 59
    ---

    Anybody experienced this error?
    Not that tech savy so any suggestions / solutions are more then welcome!

  2. hedronist
    Member
    Posted 3 years ago #

    I suspect you are running with a very old version of PHP. memory_get_usage() is a standard function of the PHP core. It's been around since PHP 4.3.2, which is really old -- like maybe 5 or 6 years old.

    To check what you have, create a file called info.php (or whatever) and put the following in it:

    <?php
    phpinfo();

    Now go to http://yoursite.com/info.php. This will give you all sorts of interesting information about your server setup, including (right at the very top) what version of PHP is being used. Ideally, you want to see at least 5.2.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic