WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Rich Text Tags] Debug error in your plugin

[Resolved] [Plugin: Rich Text Tags] Debug error in your plugin

Viewing 7 replies - 1 through 7 (of 7 total)
  • Here’s another one…

    Notice: register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.)

    and a few more:

    Notice: Undefined variable: std in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/simple-pagination/simple-pagination.php on line 359

    Notice: Undefined variable: choices in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/simple-pagination/simple-pagination.php on line 361

    Notice: Undefined variable: desc in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/simple-pagination/simple-pagination.php on line 357

    Plugin Author Zack Katz

    @katzwebdesign

    The last two aren’t issues with Rich Text Tags. The last one is caused by simple-pagination.php

    Notice: Undefined variable: std in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/simple-pagination/simple-pagination.php on line 359

    Please note that you should disable debug mode (WP_DEBUG) for a live site. When you do, you won’t see the “Notice” errors.

    Plugin Author Zack Katz

    @katzwebdesign

    I fixed this: Notice: Undefined variable: css in .../rich-text-tags/rich-text-tags.php on line 157

    If you delete and re-install the plugin, it’s fixed.

    Still got the Notice. And it’s on line 168… What should be the $css var ?
    and thanks for your plugin.

    Got no idea about this too, just comment out line and the $css variable error disappears

    <?php wp_editor($content, $editor_id,
    		array(
    			'textarea_name' => $editor_selector,
    			// 'editor_css' => $css,
    		)); ?>
    Plugin Author Zack Katz

    @katzwebdesign

    This is fixed. @anou, the $css should have been replaced with kws_rtt_get_css()

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] [Plugin: Rich Text Tags] Debug error in your plugin’ is closed to new replies.