• Resolved infinityvers

    (@infinityvers)


    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

Viewing 9 replies - 1 through 9 (of 9 total)
  • eligio360

    (@eligio360)

    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 ??

    MichaelH

    (@michaelh)

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

    MichaelH

    (@michaelh)

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

    Also using the WordPress Default 1.6 them.

    Thread Starter infinityvers

    (@infinityvers)

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

    MichaelH

    (@michaelh)

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

    Thread Starter infinityvers

    (@infinityvers)

    Yes!

    MichaelH

    (@michaelh)

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

    Any plugins installed?

    Thread Starter infinityvers

    (@infinityvers)

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

    I have plugins installed.

    Thread Starter infinityvers

    (@infinityvers)

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘2.7 beta – Tags in the tag widget not working’ is closed to new replies.