WordPress.org

Ready to get started?Download WordPress

Forums

Category display: Sidebar broken (3 posts)

  1. GrendelS
    Member
    Posted 8 years ago #

    I migrated my blog, after that the category view stopped working. If I click on a category link at http://www.iroke.de/wp/ I get a

    Fatal error: Only variables can be passed by reference in .../wp-includes/classes.php on line 629

    It's the default Kubrick template, and since I thought there might be a plugin problem, but I deactived all of them (except WPG2, which is neccessary for the site to work at all if there're pics on the displayed page) and the error is still there

  2. Giuseppe27
    Member
    Posted 8 years ago #

    This is a bug with with the wp code.

    http://trac.wordpress.org/ticket/1614

    The solution is an easy fix, you simply have to split up the line of code mentioned in the link and add in a temp variable (they use $crom) that takes the value $this->get('cat')

    The original code works in PHP4, but apparently not PHP5. I spent the better part of friday chasing that down.

  3. GrendelS
    Member
    Posted 8 years ago #

    that's the answer, thank you!
    I looked for the error in other wpblogs on Google, but couldn't find any results with the same errors though... strange.

Topic Closed

This topic has been closed to new replies.

About this Topic