Skip Navigation

[Resolved] Cred update overnight 2.3 to 2.35 breaks site

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

Problem:

The issue here is that the user was getting the error
PHP Fatal error: Uncaught Error: Class 'OTGS\Toolset\CRED\Controller\Upgrade\stdClass' not found

This occurred after updating to Forms version 2.3.5

Solution:

This issue was solved in Forms version 2.3.6 so I would recommend updating to this version.

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

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by neilR 5 years ago.

Assisted by: Shane.

Author
Posts
#1232244

It appears an automatic update ran last night from Forms 2.3 to 2.3.5, and from Access 2.6.1 to 2.7, resulting in WSOD - totally inaccessible site. Disabling the Forms plugin resolved the issue.
PHP error logs show multiple instances of

[17-Apr-2019 10:43:21 UTC] PHP Fatal error:  Uncaught Error: Class 'OTGS\Toolset\CRED\Controller\Upgrade\stdClass' not found in /var/www/vhosts/anfiukmembers.co.uk/httpdocs/wp-content/plugins/cred-frontend-editor/application/controllers/upgrade/routine_2030500_db_upgrade.php:92
Stack trace:
#0 /var/www/vhosts/anfiukmembers.co.uk/httpdocs/wp-content/plugins/cred-frontend-editor/application/controllers/upgrade/routine_2030500_db_upgrade.php(55): OTGS\Toolset\CRED\Controller\Upgrade\Routine2030500DbUpgrade->set_default_editor_origin_for_forms(Array)
#1 /var/www/vhosts/anfiukmembers.co.uk/httpdocs/wp-content/plugins/cred-frontend-editor/application/controllers/upgrade/routine_2030500_db_upgrade.php(34): OTGS\Toolset\CRED\Controller\Upgrade\Routine2030500DbUpgrade->execute_post_forms_routine()
#2 /var/www/vhosts/anfiukmembers.co.uk/httpdocs/wp-content/plugins/cred-frontend-editor/application/controllers/upgrade.php(277): OTGS\Toolset\CRED\Controller\Upgrade\Routine2030500DbUpgrade->execute_routine()
#3 [internal function]: OTGS\Toolset\CRED\Controller\Upgrad in /var/www/vhosts/anfiukmembers.co.uk/httpdocs/wp-content/plugins/cred-frontend-editor/application/controllers/upgrade/routine_2030500_db_upgrade.php on line 92

Please advise

#1232291

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Neil,

There has been a patch released for this.

Could you go to the link below and download and install the patch to get this working again.
https://toolset.com/errata/forms-update-causes-fatal-error/

Thanks,
Shane

#1232303

Hi Shane,
Thanks for that. Do you mean 'upgrade to 2.3.6 then apply the patch', or 'apply the patch then upgrade to 2.3.6'? The instructions aren't clear on the patch page.
Ta,
N

#1232306

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Neil,

This is for the current version 2.3.5 so you need to apply the patch to this version.

When 2.3.6 releases it will already include the patch.

Thanks,
Shane

#1232816

All sorted. Thanks mate.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.