Comment on Stallion Responsive WordPress SEO Theme by SEO Dave.

Stallion Responsive ThemeThat’s not a WordPress child theme issue per se, it’s not even a WordPress issue per se it’s a PHP error warning due to a PHP setting being set a bit low.

What’s happening is your post_max_size (max upload size of a file) is being tripped because the Stallion child theme zip file is bigger than the setting.

8388608 bytes or 8MBs (which is the max size mentioned in the error) is smaller than the child theme zip (about 18MBs due to all the free header images etc…).

Search for this in Google and you’ll find lots of info about it:

Warning: POST Content-Length of bytes exceeds the limit of 8388608 bytes in Unknown on line 0

All I did was remove the number 8388608 from the error message since the number will be different for others with this error.

Check under Dashboard: “Media” > “Add New” and I bet the “Maximum upload file size:” is 8MB. 8MBs is a bit low, most servers start very low and though the Stallion parent theme is below 2MBs the child theme is significantly bigger, hence the error message.

Simple solution is unzip the child theme and manually move it into the relevant folder under your local install. To change the server setting the solution will be something like edit your php.ini file.

Find post_max_size=8M (might be another number)
Change to post_max_size=32M

Find upload_max_filesize=2M (might be another number)
Change to upload_max_filesize=32M

Every time I install a localhost server (any server) I make this change.

32MB should be more than enough for anything you might do in a localhost install, I wouldn’t set it this high in a live server though. I usually go for 16MBs for a liver server and manually upload the unzipped child theme using FTP.

Check under Dashboard: “Media” > “Add New” again and the number will change to whatever you set if you got it right.

David