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:
https://wordpress.org/support/topic/the-uploaded-file-could-not-be-moved-to-wp-content-uploads-2020-06/#post-12972294.

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