Increase WordPress Upload Filesize, WordPress App HMAC error

I find WP a help and a hindrance at times. It’s a pretty good platform, albeit a little slow and bloated so I try and keep the plugins few and far between. I recently found I couldn’t upload pictures via the WordPress app, and got an error of “The corresponding HMAC for this file does not match”. After some googling, it would appear this is because of the max upload file size. I tried a couple of different routes to fix this, firstly .htaccess file, secondly wp_config.php updating, using a plugin. None worked. The easiest way I found was simply to create a file called php.ini in your /wp_admin/ with these two lines in it:

Job done!

WordPress error: Fatal error: Allowed memory size of 41943040 bytes exhausted

So upon updating this site the other day i received this error and nothing would load.  I had a good crack at googling and found a way to resolve it. Either by using FTP/SSH/Cpanel editor, find the wp-config.php file in your site’s home dir and open it to edit. Scroll down to find this line: /* That’s all, stop editing! Happy blogging. */ And add this line just above it: define( ‘WP_MEMORY_LIMIT’, ‘256M’ ); So it should look like: * @link https://codex.wordpress.org/Debugging_in_WordPress */ define(‘WP_DEBUG’, false); define( ‘WP_MEMORY_LIMIT’, ‘256M’ ); /* That’s all, stop editing! Happy blogging. */ Save the file and you should be sorted! Happy days!