You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding a image transform break rich text fields set with Available Transforms to all. It breaks with the following exception: in_array() expects parameter 2 to be array, string given
The issue is related to the fact that $this->availableTransform is a string "*" and in_array expects an array in the second argument.
Problem is in vendor/craftcms/cms/src/fields/RichText.php:515
Steps to reproduce
Create a Image Transform and Asset Volume.
Create a Entry single type that has a Rich text field with Available Transforms set to all.
Try to edit entry content notice.
Additional info
Craft version: 3.0.0-beta.1
PHP version: 7.0.8 (MAMP PRO)
Database driver & version: MySQL 5.5.42
Plugins & versions: Clean Install.
The text was updated successfully, but these errors were encountered:
Description
Adding a image transform break rich text fields set with Available Transforms to all. It breaks with the following exception:
in_array() expects parameter 2 to be array, string given
The issue is related to the fact that
$this->availableTransform
is a string "*" and in_array expects an array in the second argument.Problem is in
vendor/craftcms/cms/src/fields/RichText.php:515
Steps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: