When I try to access the Drupal status page, I'm getting an error message below:

Fatal error: Unsupported operand types in media_wysiwyg.module on line 555

In media_wysiwyg.module, changing the code block below:

$entity_info['file']['view modes'] += array(
    'wysiwyg' => array(
      'label' => t('WYSIWYG'),
      'custom settings' => TRUE,
    ),
 );

With this code:

 $entity_info['file']['view modes']['wysiwyg'] = array(
            'label' => t('WYSIWYG'),
            'custom settings' => TRUE,
    );

seems to help

CommentFileSizeAuthor
#2 media-2834893-2.patch705 bytespifagor
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

behzod created an issue. See original summary.

pifagor’s picture

Status: Active » Needs review
FileSize
705 bytes

Patch

  • joseph.olstad committed c9c60e1 on 7.x-2.x authored by pifagor
    Issue #2834893 by pifagor: Fatal error: Unsupported operand types in...
joseph.olstad’s picture

Status: Needs review » Fixed

in 7.x-2.x dev branch
thanks

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

pifagor’s picture