Home › Forums › Front-end Issues › An error occurred in the upload. Please try again later. › Reply To: An error occurred in the upload. Please try again later.
FYI: Resolved this… Turns out it had to do with the front-end login form. The live site was on SSL and my dev site was not.
As such, $user_signon = wp_signon( $info, false );
was at the root of the problem. The false
value was saying that the cookie mustn’t be secure, which because the site WAS on SSL, was not storing the cookie correctly and thus not allowing the upload to happen.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.