Unyson icon indicating copy to clipboard operation
Unyson copied to clipboard

PHP Notice for WP Editor

Open dk-wordpress opened this issue 10 years ago • 2 comments

Hello!

I have noticed a small bug, Unyson WP Editor displays an error:

Notice: Undefined index: external_plugins in \wp-content\plugins\unyson\framework\includes\option-types\wp-editor\includes\class-fw-wp-editor-settings.php on line 213

when i add WP Editor with following params:

'page_404_content' => array(
  'type'  => 'wp-editor',
  'label' => esc_html__('Page 404 content', 'mytheme'),
  'value'  => '<h1 style="text-align: center;"><strong>404</strong> Page Not Found</h1><p style="text-align: center;">The page you are looking for does not appear to exist.<br/>Please go back or head on over our homepage to choose a new direction.</p>',
  'tinymce' => true,
  'media_buttons' => false,
  'teeny' => true,
  'wpautop' => true,
  'reinit' => true,
  'size' => 'large',
  'editor_type' => 'tinymce',
  'editor_height' => 200
),

dk-wordpress avatar Jul 05 '16 17:07 dk-wordpress

@moldcraft Will be fixed in next release. Same as #1700. @WPJobs can you please udpate to latest Unyson from master branch and test it out?

andreiglingeanu avatar Jul 05 '16 19:07 andreiglingeanu

Please test again https://github.com/ThemeFuse/Unyson-Extensions-Approval/issues/232

ghost avatar Jul 09 '16 12:07 ghost