SOLVED: Divi stucked at 1% when loading premade layouts

After just setting up a new server with PHP7 – I was struggling importing anything on the Divi theme. Across multiple domains, so I knew it has to be a server issue.

I’ve checked:

Upload size, memory size, post file size in php.ini – all good and minimum 128M with the execution for 300 seconds.

I felt absolutely stuck! But! The error log saved me.

2020/03/29 09:18:42 [error] 23589#23589: *1 client intended to send too large body: 1053263 bytes, client:, server: lifeinlisbon.com, request: “POST /wp-admin/admin-ajax.php HTTP/1.1”, host: “lifeinlisbon.com”

As this is a LEMP installation I run Nginx – here I had to add one extra line to my nginx config;

        client_max_body_size    10M;

Leave a Reply

Your email address will not be published. Required fields are marked *