Installed theme on new Wordpress installation and am getting errors

I just installed the latest version of Wordpress on the server and your theme and when I activate your theme I get a Internal Server 500 Error. I can see the home page on the front end but can’t do anything in the admin.

From reading your forum, I tried editing the wp_config for the memory limit and turned on Debug.

Here is the debug error message:

Notice: Constant WP_MEMORY_LIMIT already defined in /wordpress/wp-config.php on line 91 Notice: Constant WP_MAX_MEMORY_LIMIT already defined in /wordpress/wp-config.php on line 92

Please help,
Anissa

Hi Anissa,

Would you mind providing us with login credentials so we can take a closer look? Please provide following information:

Set it as Secure Note

  • Link to your site
  • WordPress Admin username / password
  • FTP credentials

All the best!

Here is the login information:

Hello There,

Thanks for providing the information. Based from the error message, you have redefine the memory limit. Please edit your wp-config.php file again and make sure that there are no duplicates. I also noticed that you have installed X theme incorrectly. Please login to your ftp and browse to the themes folder. Please make sure that X folder is located in:
wp-content/themes/x/ because at the moment, it is wp-content/themes/x/x/ which is incorrect.

Please let us know how it goes.

The memory limit is already defined in wp-admin/menu.php so I can’t add it to the wp-config.php file.

I re-installed the X theme so now it is there correctly but now get this error when I try to activate:

Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 122880 bytes) in /wordpress/wp-admin/menu.php on line 98

Hi There,

Could you please try adding the following code into your wp-config.php file in the root of your WordPress installation.

define( 'WP_MEMORY_LIMIT', '256M' ); define( 'WP_MAX_MEMORY_LIMIT', '256M' );

If that doesn’t help, please provide us with your FTP login credentials to check your current setup.

Thanks!

Tried that before as stated above, but it causes the error below.

Notice: Constant WP_MEMORY_LIMIT already defined in /hsphere/local/home/jgartlan/gartland.tv/wordpress/wp-config.php on line 91 Notice: Constant WP_MAX_MEMORY_LIMIT already defined in /hsphere/local/home/jgartlan/gartland.tv/wordpress/wp-config.php on line 92 Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 30720 bytes) in /hsphere/local/home/jgartlan/gartland.tv/wordpress/wp-admin/includes/menu.php on line 65

Hi There,

I have resolved your issues, updated your X theme & Cornerstone. Now you should be able to validate your theme and move forward.

Thanks!

Thanks so much!

You’re most welcome.