Skip Navigation

Fatal error when using the legacy Styling Editor in Types

Resolved

Reported for: Toolset Types 2.2.5

Resolved in: Toolset Types 2.2.6

Symptoms

Using the following constant in order to enable the styling editor on fields edit page

define('TYPES_USE_STYLING_EDITOR', true);

throws some errors and warnings in the last release of Types.

Workaround

This will be fixed in the next version of Types.

In the meantime, this patch can be applied by copying the files it contains and replacing the ones with the same names, located in:

  • library/toolset/types/embedded/includes/fields-post.php
  • library/toolset/types/embedded/resources/js/custom-fields-form-filter.js
  • library/toolset/types/includes/classes/class.types.admin.edit.custom.fields.group.php

Please note that the Styling Editor is no longer supported and will be removed from Types in the upcoming major release. Please contact our support team if this affects you in order to find an alternative solution.

Comments are closed