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.
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: 18.104.22.168, 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;