I have a CRED form that creates a "candidature" post type on hidden link (click on "Postuler").
The first field "Annonce associée" establishes a post relationship with the current "annonce" post.
Once the form has been submitted, the post relationship is not saved anymore in the "candidature" post.
I' afraid it is linked to WordPress 5.4 upgrade.
Here is the error I have in my log :
Got error 'PHP message: PHP Warning: Creating default object from empty value in /var/www/vhosts/recrutisagency.com/httpdocs/dev.recrutisagency.com/wp-content/plugins/cred-frontend-editor/application/controllers/field_translation/command/CRED_Translate_File_Command.php on line 46', referer: hidden link
I have tried the credentials you provided above, but I get this error message: Identifiant inconnu. Vérifiez l’orthographe ou essayez avec votre adresse e-mail.
Please check it.
And the problem you mentioned above is abnormal, please check these:
1) In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2020, deactivate all custom PHP/JS code snippets, and test again
2) If the problem still persists, please provide database dump file(ZIP file) of your website, also point out the problem page URL and form URL, I need to test and debug it in my localhost, thanks https://toolset.com/faq/provide-supporters-copy-site/
I have also managed to setup the relationship on the secondary language with Polylang installed with the following code, set in a cred_save_data hook :