WordPress.org

Ready to get started?Download WordPress

Forums

Ultimate Tag Cloud Widget
Undefined variable Separator (3 posts)

  1. syndrael
    Member
    Posted 1 year ago #

    Hello,
    I've installed the plugins and without configuring it i've this error below in my site.

    Notice: Undefined variable: separator in E:\www\wp_pure\wordpress\wp-content\plugins\ultimate-tag-cloud-widget\ultimate-tag-cloud-widget.php on line 693

    I've solved it by correcting this line:
    if ($tags_left-- == 0) {
    (instead of 1)
    Best regards
    S.

    http://wordpress.org/extend/plugins/ultimate-tag-cloud-widget/

  2. Rickard Andersson
    Member
    Plugin Author

    Posted 1 year ago #

    I think

    if ($tags_left-- <= 1) {

    would be more appropriate since it still needs to match when $tags_left is one.

    Could you try that and see if it still produces an error?

  3. syndrael
    Member
    Posted 1 year ago #

    Hello,
    I don't see the difference 'coding-speaking' except if $tags_left may be negative, but i don't think so.
    But i can do it, i know it won't trigger an error.
    Best regards
    S.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.