Resolved
Reported for: Toolset Forms 1.9.2
Resolved in: Toolset CRED 1.9.3
Adding a CRED Form to your WebSite which includes some Types Custom Fields (like radio fields) produces a Fatal Error on the screen:
PHP Warning: require_once(field/class.radio.php): failed to open stream: No such file or directory in .../cred-frontend-editor/application/controllers/form_rendering.php on line 83 PHP Fatal error: require_once(): Failed opening required 'field/class.radio.php' (include_path='.:/Applications/MAMP/bin/php/php7.0.22/lib/php') in .../cred-frontend-editor/application/controllers/form_rendering.php on line 83
This issue will be fixed in the next release of Toolset CRED.
In the meantime, you can download this file, extract it and replace the
form_rendering.php
file in /plugins/cred-frontend-editor/application/controllers/
folder.
Please remember to keep a backup of your site and database before doing this.
I applied the hot fix, and it got rid of the errors! However, when I fill out the form, and click on the submit button, nothing happens. Still help? 🙂
Hi Chad,
i am Francesco the developer of CRED,
according to our mails, i am already on it and i will update you as soon as i have fixed it.
Sorry for the inconvenience
I had this error. Tried the hotfix. Didn’t work. It completely crashed all cred forms whereas before it only crashed new cred forms.
This is what I get now
https://goo.gl/WNwGG7
The combination of upgrading to 1.9.2.1, applying the hotfix, adding a function provided to me by the plugin developer, and turning off AJAX for the forms has made them work again. I’ve been told that 1.9.3 will address all issues. I appreciate all the help!
If you still have issues please use the following steps:
1. You should update to CRED 1.9.2.1 (if you don’t see any direct link to update it go directly here /wp-admin/plugin-install.php?tab=commercial )
2. Re-save all the CRED forms (just save them not create again) you created with WP 4.8.3 and CRED 1.9.2
3. Get the errata from
https://toolset.com/errata/exception-fatal-error-failed-to-open-fieldclass-radio-php-shown-on-page-with-cred-form-shortcode/
and re-apply it again
4. Check for the following errata if needed:
https://toolset.com/errata/cred-1-9-2-1-types-2-2-17-18-showstopper-when-using-cred-ajax-forms/
https://toolset.com/errata/cred-1-9-2-1-types-2-2-17-18-showstopper-when-using-cred-forms-with-recaptcha/