- Issue created by @alex_branescu
- Status changed to Closed: duplicate
over 1 year ago 12:20pm 15 July 2023 - 🇨🇭Switzerland saschaeggi Zurich
Duplicate of 🐛 WSOD on node revision page Fixed
When trying to see the node revision page, it will throw the following error:
TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in in_array() (line 12 of themes/contrib/gin/includes/table.theme)
Change
if (isset($variables['attributes']['class']) && in_array('field-multiple-table', $variables['attributes']['class']))
to if (isset($variables['attributes']['class']) && is_array($variables['attributes']['class']) && in_array('field-multiple-table', $variables['attributes']['class']))
Closed: duplicate
Code
Duplicate of 🐛 WSOD on node revision page Fixed