The MU forums have moved to

time_modified error (2 posts)

  1. Farms
    Posted 18 years ago #


    This is pretty trivial so don't stress about it but I thought it might be useful, when using themes with a time_modified command in the list pages function this error comes up:

    " WordPress database error: [Unknown column 'time_modified' in 'order clause']
    > > SELECT * FROM wp_122_posts WHERE post_status = 'static' ORDER BY time_modified ASC"

    Easily gotten rid of but maybe a bug?

    Cheers, James

  2. donncha
    Key Master
    Posted 18 years ago #

    Looks like a bug in the theme. Can you do "grep -r time_modified *" in the wp-inst/ folder? I searched for that but couldn't find that db field mentioned anywhere, so maybe the theme is out of date?

About this Topic