To solve this error, you need to change the path of the old uploads folder to the new one.
Follow these steps to solve the problem:
- Log in to your WordPress admin panel (wp-admin).
- In the left menu go to Settings » Media.
- In the Store uploads in this folder field enter:
- And click Save changes.