When an imported css file refers to an image in a node_module folder

ok I made some progress. I updated the nginx correctly this time and it started to upload buuuut WordPress tried uploading the theme to the uploads folder…which is new to me. Any ideas?

Looks like an owernship/permissions issue with the uploads/ folder. The PHP(-FPM) process needs sufficient rights to copy files from the PHP upload directory into the uploads directory.
This should be fixed on that site/VHost setup as it prevents any uploads with WordPress.

This is helpful, especially for VHosters that use control panels like CPanel:

Oh - and you can use a FTP client (when you got FTP connection) or maybe even a WordPress plugin or PHP based file manager (as a last resort) to set the permissions for the uploads directory.

1 Like