WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] 2.7 beta - Tags in the tag widget not working (10 posts)

  1. Infinityvers
    Member
    Posted 5 years ago #

    I'm using 2.7 Beta 2 and the default theme and I get error when I click on a tag in the tag cloud widget.

    This is the error message I get:

    Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/accountname/public_html/blog/wp-content/themes/default/archive.php

  2. eligio360
    Member
    Posted 5 years ago #

    I'm also getting this issue using the default theme. There is a problem on this code (archive.php) that trigger unexpected T_OBJECT_OPERATOR

    if (is_category()) // If this is a category archive
    			printf("<h2 class='center'>Sorry, but there aren't any posts in the %s category yet.</h2>", single_cat_title('',false));
    		else if (is_date()) // If this is a date archive
    			echo("<h2>Sorry, but there aren't any posts with this date.</h2>");
    		else if (is_author()) // If this is a category archive
    			printf("<h2 class='center'>Sorry, but there aren't any posts by %s yet.</h2>", get_userdatabylogin(get_query_var('author_name'))->display_name);
    		else
    			echo("<h2 class='center'>No posts found.</h2>");

    For the meantime, I removed the code :D

  3. MichaelH
    Member
    Posted 5 years ago #

    NOT seeing this problem with WordPress 2.7-beta2-9571.

  4. MichaelH
    Member
    Posted 5 years ago #

    Also not seeing this with WordPress 2.7-beta2-9582.

    Also using the WordPress Default 1.6 them.

  5. Infinityvers
    Member
    Posted 5 years ago #

    Tags are working when I click on them if I'm using another 2.7 compatible theme.

  6. MichaelH
    Member
    Posted 5 years ago #

    So are you still experiencing the problem with the WordPress Default 1.6 theme?

  7. Infinityvers
    Member
    Posted 5 years ago #

    Yes!

  8. MichaelH
    Member
    Posted 5 years ago #

    What other Widgets are you using while using the Tag Cloud Widget?

    Any plugins installed?

  9. Infinityvers
    Member
    Posted 5 years ago #

    I'm using AJAX Calendar, WP-dTree and links widgets.

    I have plugins installed.

  10. Infinityvers
    Member
    Posted 5 years ago #

    I upgraded to the newest nightly build tonight (2.7-beta2-9600) and the tags are working with the default theme.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.