Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
REFERRER https://mysite.com/node/9044/edit
MESSAGE Warning: Illegal offset type in isset or empty in filter_list_format() (line 708 of /www/htdocs/modules/filter/filter.module).
Warning: Illegal offset type in isset or empty in filter_list_format() (line 710 of /www/htdocs/modules/filter/filter.module).
Warning: Illegal offset type in filter_list_format() (line 724 of /www/htdocs/modules/filter/filter.module).
I replaced;
if (!isset($filters[$format_id])) {
with
if( (array_key_exists($format_id, $filters)) && (isset($filters)) ){
Comments
Comment #1
StephenRobinson CreditAttribution: StephenRobinson commentedComment #2
stoickthevast CreditAttribution: stoickthevast commentedAny steps to reproduce this warning?
Comment #3
StephenRobinson CreditAttribution: StephenRobinson commentedHi,
This was with 7.26, didn't need it/didnt work with 7.27 and 7.28 so no longer an issue with newer versions?
Stephen :)