When trying to load an image to a PCP (front-end or back-end), it gives the error:
Could not move custom file to custom upload directory
I see that the image is loaded into /wp-content/uploads/civicrm/custom directory. However, it is not saved to the PCP. Any pointers on what to look at?
/custom is owned by www:data:www:data