when I try to upload image in the wordpress media library it says, An error occurred in the upload. Please try again later.
Hi @nurul! This is kind of a general error that doesn’t say exactly where the problem is off the bat so it might take a bit of troubleshooting to narrow down.
Is this a new, blank site you’re trying to upload images on? Or is this a site that you’ve pulled or imported into Local? If it’s a fully developed site, then you might have a plugin or theme conflict going on. So you could attempt to disable plugins or swap themes and then see if the upload works.
You’ll also you want to make sure you have plenty of disk space, and that you have admin privileges on your device as there could be permissions issues at play as well.
It’s a brand new woocommerce site.
You could try adjusting some of the PHP settings in case it’s a resource issue. We have some steps for this at the bottom of our help guide below:
Additionally, you could try adding the images manually to the site instead and then syncing them. You can click on Site Folder in Local and drill down App > Public > WP-Content to add images that way.