Can't update X Theme and Cornerstone

Hi there,

I have updates for x theme and cornerstone but everytime I try to update them, wordpress times out and i have to delete the maintenance file from cPanel.

I have the following versions:
X theme 7.1.1
Cornerstone 4.1.1

I am almost ready to push this website LIVE but I’d like to update everything before I do.

Help please!

Hello @aiad_development,

Thanks for posting in!

You are experiencing this issue because your Max Upload Size is only 8M. Go to X > Status and you can find this details. You will need to increase it to at least 32M. Please check out this link to know how to resolve this issue.

We would love to know if this has worked for you. Thank you.

Hi,

Thanks for your response but it didn’t work. I added the following to the .htaccess file

php_value memory_limit 1024M
php_value upload_max_filesize 32M
php_value post_max_size 32M
php_value max_execution_time 90

then tried to update and it timed out again and then it said there was a critical error in my Wordpress.

I had to download X Theme and upload it to file manager manually. But it still says X theme and cornerstone still need to be updated. I’m not sure what is going on.

Thank you

Hey @aiad_development,

Upon checking, I see Cornerstone is already up to date. It was just X that needed updating so I went to Dashboard > Updates and update WordPress. The result, it went smoothly. Now X is up to date in your staging site.

Hope that helps.

Strange, not sure why it wouldn’t let me update.

Either way thanks for the help! Much appreciated!

You’re always welcome @aiad_development.

Cheers!

Hi there,

sorry to bother again but I am having the same issue but on another staging website.

http://x.aiadstaging.com.au/projects/technetics.com.au/

I have increased the memory in .htaccess to
php_value memory_limit 512M
php_value upload_max_filesize 16M
php_value post_max_size 16M
php_value max_execution_time 90

Because I started updating and it timed out, I think half the update downloaded as all the icons are now missing from the footer menu and the icon list under why choose us on the homepage.

Can you please have a look?

Thank you

Hello @aiad_development,

16M as the Upload Max Filesize is enough when updating the theme because it is only 7MB. You may have exhausted your PHP memory limit while doing the updates which is why giving you a hard time updating. ​We recommend that you increase your memory allocated to PHP. To increase it, please edit your wp-config.php file and insert these lines:

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

You can add it before the line
/*That's all, stop editing! Happy Blogging. */

You need to change the PHP memory limit in wp-config.php file because the one you have added in the .htaccess is not taking any effect.

We would love to know if this has works for you. Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.