Support » Fixing WordPress » fatal error

  • Hi!

    Need help asap.

    I am facing following error

    Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 30720 bytes) in /home/creativ6/public_html/wp-includes/nav-menu.php on line 226

    My site name is

    I have done all the setting, but its fail.

    Create a file called php.ini in the root of your site (if you are using a hosted addon domain, this must be in the subdirectory of that site)
    In php.ini, enter a line that says
    memory_limit = 64MB
    In your site’s .htaccess (being a WordPress blog, I’m assuming there is one), enter the following line
    SetEnv PHPRC /<unix path to the directory where php.ini is>/
    (keep the slashes)
    Edit wp-config.php and enter the following line
    define(‘WP_MEMORY_LIMIT’, ’64M’);
    Upload the new files to the server

    Please take me out of this

Viewing 1 replies (of 1 total)
  • define(‘WP_MEMORY_LIMIT’, ’64M’);
    Try this in config

    However you may have to check with hosting to see if increase is permitted on server

Viewing 1 replies (of 1 total)
  • The topic ‘fatal error’ is closed to new replies.