1. https://toolset.com/forums/topic/upgrade-to-the-latest-version-of-toolset-plugins-get-some-errors/#post-1790153
This issue also reported by https://toolset.com/forums/topic/fatal-error-when-trying-to-update-access-etc/
This is as follows:
Since CRED 2.6 the file cred-frontend-editor/application/controllers/compatibility/wpml/integration/forms_translation/legacy.php has code that extends an abstract class.
The class that extends the abstract class registers a method register_strings with arguments as follows:
In the abstract class "base", the same method register_strings is registered with args as follows:
\WP_Post $form, $form_data
Now, if you activate CRED on a legacy site with forms that code is triggered.
It fails with a WPOD and no error will be logged, but the underlying error will be
An error of type E_COMPILE_ERROR was caused in line 10 of the file /cred-frontend-editor/application/controllers/compatibility/wpml/integration/forms_translation/legacy.php.
Now if you where to debug that, using
error_reporting(E_ALL | E_STRICT | E_ERROR | E_WARNING | E_PARSE | E_COMPILE_ERROR);
then you would see that
Fatal error: Declaration of OTGS\Toolset\CRED\Controller\Compatibility\Wpml\Integration\FormsTranslation\Legacy::register_strings($form, $form_data) must be compatible with OTGS\Toolset\CRED\Controller\Compatibility\Wpml\Integration\FormsTranslation\Base::register_strings(WP_Post $form, $form_data) in /cred-frontend-editor/application/controllers/compatibility/wpml/integration/forms_translation/legacy.php on line 10
This leads us to the real error:
Extending class Legacy should declare register_strings as well with \WP_Post $form, $form_data
If you do that, the issue is resolved.
I think this should once again be enough of a debug to forward. This issue will/does happen on every legal site with forms and the debug should clarify what needs fixing.
Thanks