WordPress.org

Ready to get started?Download WordPress

Forums

Custom Editor Styles
Some warnings in WP 3.5.1... but it seems working (2 posts)

  1. Lukas ThyWalls
    Member
    Posted 1 year ago #

    Hello. I'm testing a clean WP in a private server with XAMPP 1.8.1, and this plugin throws me some warnings and message, but it seems working even so.

    In Editor Styles i have:
    Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'CustomEditorStyles' does not have a method 'theme_settings_page' in C:\xampp\htdocs\wordpress\wp-includes\plugin.php on line 406

    And yesterday recently installed without any style configured an additional warning in editor styles page and another in editor page, but now they dissapear. I will reinstall the plugin to put it here, but now, without any style configured in this plugin, the styles listed in editor are "aligncenter, alignleft, alignright, wp-caption, wp-caption-dd, wp-gallery, wp-oembed, size-full, wp-smiley, editor-attachment, wp-caption-text". Something is wrong.

    However, with at least one style configured, only have the first warning and the plugin seems to work, i could add a class (Red) to a blockquote according to the path of the WP editor (Ruta: blockquote.Red ยป p).

    http://wordpress.org/extend/plugins/custom-editor-styles/

  2. Lukas ThyWalls
    Member
    Posted 1 year ago #

    Here is the additional information:

    In the editor, between path and number of words, have this
    Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\wordpress\wp-content\plugins\custom-editor-styles\custom-editor-styles.php on line 134
    But Styles menu is here with "aligncenter, alignleft, alignright, wp-caption, wp-caption-dd, wp-gallery, wp-oembed, size-full, wp-smiley, editor-attachment, wp-caption-text" (I don't have any style configured at this time)

    In the Editor Styles page (the plugin page) have the first message above all
    Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'CustomEditorStyles' does not have a method 'theme_settings_page' in C:\xampp\htdocs\wordpress\wp-includes\plugin.php on line 406
    and between Editor Styles title and "Add style" link
    Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\wordpress\wp-content\plugins\custom-editor-styles\custom-editor-styles.php on line 92

    If i add a style, only appears now the warning of line 406, and in the styles dropdown only have the style added. If i remove this style, only remains the 406 warning, the others don't show again.

    For more info: It's a clean WP installation (ES_es) in XAMPP 1.8.1 in a private server, with only this plugin installed and activated.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.