WordPress.org

Ready to get started?Download WordPress

Forums

Rich Text Tags
[resolved] Debug error in your plugin (8 posts)

  1. Earthman Web & Media
    Member
    Posted 1 year ago #

    Love your plugin, thanks!

    For future updates.

    Notice: Undefined variable: css in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/rich-text-tags/rich-text-tags.php on line 157

    Hope this helps
    T

    http://wordpress.org/extend/plugins/rich-text-tags/

  2. Earthman Web & Media
    Member
    Posted 1 year ago #

    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.)

  3. Earthman Web & Media
    Member
    Posted 1 year ago #

    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

  4. Zack Katz
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  5. Zack Katz
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  6. anou
    Member
    Posted 1 year ago #

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

  7. suebphatt
    Member
    Posted 10 months ago #

    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,
    		)); ?>
  8. Zack Katz
    Member
    Plugin Author

    Posted 10 months ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags