WordPress.org

Ready to get started?Download WordPress

Forums

Better Tag Cloud
[resolved] the plugin is full of errors (10 posts)

  1. alhoseany
    Member
    Posted 2 years ago #

    there is a lot of errors with wb-debug.
    like deprecated register_sidebar_widget.

    Notice: Use of undefined constant taxonomy_exists - assumed 'taxonomy_exists' in \wp-content\plugins\nktagcloud\inc\page.php on line 68

    Notice: Undefined variable: nofollow in wp-content\plugins\nktagcloud\inc\page.php on line 75

    Notice: clean_url is deprecated since version 3.0! Use esc_url() instead. in \wp-includes\functions.php on line 3467

    Notice: Undefined variable: tags_to_show in \wp-content\plugins\nktagcloud\inc\page.php on line 376

    Notice: Undefined variable: echo_nofollow in \wp-content\plugins\nktagcloud\inc\page.php on line 402

    Notice: attribute_escape is deprecated since version 2.8! Use esc_attr() instead. in wp-includes\functions.php on line 3467

    Notice: Undefined variable: the_separator in wp-content\plugins\nktagcloud\inc\page.php on line 402

    Notice: clean_url is deprecated since version 3.0! Use esc_url() instead. in \wp-includes\functions.php on line 3467

    Notice: Undefined variable: tags_to_show in \wp-content\plugins\nktagcloud\inc\page.php on line 376

    Notice: Undefined variable: echo_nofollow in \wp-content\plugins\nktagcloud\inc\page.php on line 402

    Notice: attribute_escape is deprecated since version 2.8! Use esc_attr() instead. in \wp-includes\functions.php on line 3467

    Notice: Undefined variable: the_separator in \wp-content\plugins\nktagcloud\inc\page.php on line 402

    Notice: clean_url is deprecated since version 3.0! Use esc_url() instead. in \wp-includes\functions.php on line 3467

    Notice: Undefined variable: tags_to_show in wp-content\plugins\nktagcloud\inc\page.php on line 376

    Notice: Undefined variable: echo_nofollow in \wp-content\plugins\nktagcloud\inc\page.php on line 402

    Notice: attribute_escape is deprecated since version 2.8! Use esc_attr() instead. in \wp-includes\functions.php on line 3467

    Notice: Undefined variable: the_separator in wp-content\plugins\nktagcloud\inc\page.php on line 402

    Notice: clean_url is deprecated since version 3.0! Use esc_url() instead. in wp-includes\functions.php on line 3467

    Notice: Undefined variable: tags_to_show in wp-content\plugins\nktagcloud\inc\page.php on line 376

    Notice: Undefined variable: echo_nofollow in \wp-content\plugins\nktagcloud\inc\page.php on line 402

    Notice: attribute_escape is deprecated since version 2.8! Use esc_attr() instead. in wp-includes\functions.php on line 3467

    Notice: Undefined variable: the_separator in \wp-content\plugins\nktagcloud\inc\page.php on line 402

    http://wordpress.org/extend/plugins/nktagcloud/

  2. alhoseany
    Member
    Posted 2 years ago #

    ok, fixed all errors. i hope i get it right.

    errors was in \wp-content\plugins\nktagcloud\inc\page.php

    here is the page.php with error fixed:

    [498 lines of code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

  3. nkuttler
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks. I know, this was one of my first plugins. I'll rewrite it once I find enough time. I the meantime patches are welcome:

    https://github.com/nkuttler/wp-nktagcloud

  4. Ov3rfly
    Member
    Posted 1 year ago #

    alhoseany: Could you please post your fixed version of page.php to pastebin? Thank you very much in advance!

    nkuttler: A fixed release would be fine, thank you in advance.

  5. alhoseany
    Member
    Posted 1 year ago #

  6. Ov3rfly
    Member
    Posted 1 year ago #

    alhoseany: Thanks for quick reply and upload of file.

    The deprecated register_sidebar_widget notice is still shown, did you also fix other files besides page.php?

  7. alhoseany
    Member
    Posted 1 year ago #

    i really don't remember. that was long time ago. here is the plugin folder.
    http://ge.tt/6bea3XX/v/0?c

  8. Ov3rfly
    Member
    Posted 1 year ago #

    Thanks for the upload, you indeed had already fixed the deprecated register_sidebar_widget calls in nktagcloud.php.

    But an additional fix was required for deprecated register_widget_control, I have added it now.

    Here the fixed file nktagcloud.php:
    http://pastebin.com/quJ6JRcB

  9. alhoseany
    Member
    Posted 1 year ago #

    great. thanks.

  10. Ov3rfly
    Member
    Posted 1 year ago #

    Summary for bug fixes and WordPress 3.5.1 compatibility:

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags