Skip Navigation

Variable initialization issue with Checkboxes on PHP 7.1

Resolved

Reported for: Toolset Forms 1.9.2

Resolved in: Toolset CRED 1.9.3

Topic Tags: Toolset Forms

Symptoms

If you added Types Custom Fields of type “Checkboxes” to a CRED Form, and your server runs PHP 7.1 or above, this PHP error will be thrown:

Warning: Illegal string offset 'wpcf-fields-checkboxes-option-XXXXXXX-1' in .../cred-frontend-editor\application\controllers\field_translation\command\CRED_Translate_Checkboxes_Command.php on line 94

 

Workaround

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

CRED_Translate_Checkboxes_Command.php file in /plugins/cred-frontend-editor/application/controllers/field_translation/command/ folder.

Please remember to keep a backup of your site and database before doing this.

Comments are closed