[Resuelto] Upload featured image failed in secondary language
This support ticket is created hace 7 años, 7 meses. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I have three CRED post forms. Each with a different language. The primary language form works properly but others give me an error when I try to upload a image.
I use wpml. The type posts are not translatable. Only translate the interface of the form. The posts are uploaded in one language only. The forms are exactly alike except for labels.
Hello,
In primary language are not errors. But in other languages, when I try to upload an image happens:
-I click the button to select the file
-Opens a window
-Select the file and click on the button
-A window pops up that says Upload Failed!
-No progress bar appears
Looking console browser seems that there is a problem:
http 403 OPTIONS hidden link
wpml configuration has chosen a different domain per language. The error refers to the domain's primary language but It is not correct.
There is invalid nonce issue because wp_get_session_token(); is returning blank string in the toolset \plugins\cred-frontend-editor\embedded\toolset\toolset-common\toolset-forms\classes\submit.php file when you are secondary domain using WPML + language per domain. This might be because of custom WordPress loading.