Skip Navigation

[Resolved] CRED not working

This thread is resolved. Here is a description of the problem and solution.

Problem: CRED forms are not working as expected. In the server logs I see a Fatal Error: Failed to open field/class.radio.php

Solution: An erratum has been published with a temporary patch for this issue. A permanent fix will be included in an upcoming release of CRED.

Relevant Documentation: https://toolset.com/errata/exception-fatal-error-failed-to-open-fieldclass-radio-php-shown-on-page-with-cred-form-shortcode/

This support ticket is created 7 years ago. 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.

Our next available supporter will start replying to tickets in about 5.06 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Tagged: 

This topic contains 28 replies, has 3 voices.

Last updated by nadavR 7 years ago.

Assisted by: Christian Cox.

Author
Posts
#585552

Since the last CRED update (1.9.2 and then your hotfix 1.9.2.1), CRED is not working, both frontend and backend, and slowing down the site. I spoke to you on Facebook as well so your agent there can give you the WP login info. Please note that this is the live site so please do not make any changes.

Example of pages with CRED forms that are not loading:
hidden link
hidden link
(you must be logged in)

On the backend, I can see the list of CRED forms but I can't get into the forms to edit them (they have been around for over 2 years without major changes and they were working until this last CRED update).

Thanks.

#585568

Hi, based on some information I received from the Lead developer, it might be required to re-save some CRED forms if they were edited after updating to WP 4.8.3 but before the CRED 1.9.2.1 update was installed. Please go to the following URL in your admin directly (do not try to click a link in the dashboard):
wp-admin/post.php?post=20380&action=edit
Save the form here, then let me know if you are able to access the related page in the front-end, and if the link in the CRED form dashboard begins to give you access to the form editor.
If not, I need to do some additional investigation here.

#585571

When I do it, I get a 500 error message.

#585573

Also, forgot to mention CRED forms haven't been updated in a long while.
But yeah, when I try to re-save this form I get a 500 message.

#585583

Okay sorry for the inconvenience here. If it's okay with you, I would like to create a clone of your site to I can run some additional tests without affecting the live site. I will install either Duplicator or WP All-in-one Migration if that doesn't work. Let me know if it's okay for me to proceed.

#585589

We had a problem doing this last time I opened a ticket with you (ended up sending you a bare backup with no uploads folder if you remember). So, I was able to create a clone site with my the assistance of my hosting company, Flywheel, located here:

hidden link
It's in privacy mode, so enter this when you get the popup: user: flywheel pass: feigned-sunrise
The actual wp login credendtials for you are the same (user: toolset, pass: the one you have)

Let me know if you are able to get in.

Please note: I created this clone BEFORE the toolset updates. So please update the plugins in order to recreate the issue. (maybe also a good idea to update WPML plugins so that you're on the 'same page' as the live site)

#585600

I didn't keep that staging password from the previous ticket, and I can't find it saved in the ticket either. Can you provide it here in the private fields please?

#585603

Okay I was able to log in. The first thing I did was try to bulk deactivate Toolset plugins and WPML plugins so I could then delete and reinstall the latest versions. Now the plugins page is not working. I can't see any plugins here:
/wp-admin/plugins.php
Is it possible for you to use FTP or a Control Panel to rename all the Toolset and WPML plugin folders?

#585607

I just added '1' to the beginning of all WPML and Toolset folders.

#585609

The plugins page is still not working, so I'm not sure what's going on if all the Toolset and WPML plugins are inactive. Please check for any of these folders that may have been overlooked:
cred-frontend-editor
layouts
sitepress-multilingual-cms
types
types-access
wp-views
wpml-cms-nav
wpml-media-translation
wpml-sticky-links
wpml-string-translation
wpml-translation-management

#585610

Yup. I did miss out on one (wp-views) but now they all have 1 in the beginning. I see that the backend generates blank pages. Not sure though why or how to revert, other than restore a backup through Flywheel's dashboard, which will take a few hours as this is a big site. Thoughts?

#585611

If you have access to server logs we may be able to read any errors that occurred. If you're not sure about that, I can show you how to create a temp log. Go in your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:

define('WP_DEBUG', true);

Then add these lines, just before it says 'stop editing here':

ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');

Try to refresh an admin page. This will create an error_log.txt file in your site's root directory. Please send me its contents, and obscure any sensitive info. Once that is done, you can revert the updates you made to wp-config.php.

#585614

There is no way to edit wp-config on Flywheel. However, there's a debug mode which I just turned on. Try refreshing any page (backend/frontend) and you should see some stuff. Does that help?

#585616

Yes, I have activated your parent theme temporarily to bypass any code specific to WPML or Toolset. I'll update you soon.

#585618

ok, thanks. should i keep debug mode on?