• Hey everyone, I was trying to change the theme on a wordpress site
    and after I activated the new theme I immediately got this message

    “Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /home/keyawin/public_html/wp-admin/includes/menu.php on line 126”

    I now can no longer access My admin panel and I don’t know how to fix this particular issue. Can anyone advise?
    I was changing from the target theme to the WP opulus theme.

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

    (@jdembowski)

    Forum Moderator and Brute Squad

    First let’s see if we can get you into your site again.

    1. Using FTP or whatever filemanagement tools your host has provided you with navigate to the wp-content/themes directory.
    2. Once there locate and backup the wp-opulus directory. This is just in case you made changes to those files and wanted to save that. If you don’t want to save any of those files then skip this step.
    3. Once you’re good with that backup then delete the wp-opulus directory. Just that one directory and nothing else.
    4. Try and visit your themes URL http://your-wordpress-URL-here/wp-admin/themes.php. If all goes well you can login and will be notified that the theme is missing. You can switch to another theme after that.

    If those steps do work then review this Codex link.

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

    You may also need to update your server’s php.ini file if that does not work.

    http://www.php.net/manual/en/ini.core.php#ini.memory-limit

    Thread Starter richartichoker

    (@richartichoker)

    Hey Jan, Thanks for the advice, Now, there i another problem though… Ok so I did everything suggested I however did not back up the wp opulus file I also had several other themes downloaded that I never activated. I did not realize that there was a memory limit in the file. Anyway, I downloaded several other themes but had never activated them so I deleted them as well.
    Now… the site is back, when I navigate to the URL “www.7thgenmusic.org” the site is there and displays a theme, I am not sure which one, I think it’s the 2012 default. But when I try to access the admin panel it gives me this error message:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /home/keyawin/public_html/wp-content/plugins/mingle-forum/fs-admin/fs-admin.php on line 715

    So can I just delete the Mingle forums Plugin? I am planning on using wp symposium anyway, I have not activated symposium yet but it is downloaded.

    Thread Starter richartichoker

    (@richartichoker)

    Hey jan I was just checking back to see if there was a reply and i re-read my question above and maybe the better way to word that question would be:

    If I simply delete the Mingle forum plugin from the file directory will that solve my error issue or will it cause another error, I currently have The Mingle Forum installed and activated and since I can’t access my admin dashboard to deactivate it I am concerned that simply deleting it from the directory will cause other problems. Can you advise?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Now… the site is back, when I navigate to the URL “www.7thgenmusic.org” the site is there and displays a theme, I am not sure which one, I think it’s the 2012 default.

    I just looked, you defaulted to Twenty Eleven. That’s a good thing since you can now manage your WordPress installation.

    If I simply delete the Mingle forum plugin from the file directory will that solve my error issue or will it cause another error

    It’s hard for me to say for sure. The real problem is that PHP is running out of memory.

    Try making a full backup of all your WordPress files and database.

    http://codex.wordpress.org/WordPress_Backups
    http://codex.wordpress.org/Backing_Up_Your_Database
    http://codex.wordpress.org/Restoring_Your_Database_From_Backup

    You should be able to make those backups without having to get into the WordPress dashboard.

    Once that’s done and you are confident that you can put it back then try removing that Mingle forum plugin.

    If it works then you should be able to get into your dashboard. If it doesn’t or causes other problems then you can put the plugin back.

    If those steps still don’t do it then again review this Codex link.

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

    You may also need to update your server’s php.ini file if that does not work.

    http://www.php.net/manual/en/ini.core.php#ini.memory-limit

    Once you allocate more memory successfully then your WordPress should be fine.

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