WordPress.org

Ready to get started?Download WordPress

Forums

fatal error (2 posts)

  1. abhijeetjoshi.v@gmail.com
    Member
    Posted 2 years ago #

    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 http://www.creativewind.in

    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

  2. loughcorrib
    Member
    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic