• Resolved frantixx

    (@frantixx)


    ?? I don’t know what’s happening, but suddenly I got a lot of problems with my blog ??
    I don’t see my originally theme, I only can see a white page, but with the content of my blog!

    On top I get following error:

    WordPress database error: [Unknown column ‘time_modified’ in ‘order clause’]
    SELECT * FROM wp_posts WHERE post_status = ‘static’ ORDER BY time_modified ASC

    can someone help me plz?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Assuming your theme comes with a sidebar.php template, look there for where it calls wp_list_pages(), and see if it has this parameter:

    sort_column=time_modified

    Change that to:

    sort_column=post_modified

    Thread Starter frantixx

    (@frantixx)

    ok, thanks! it works! ??

    I got exactly the same error but when I go to my theme’s sidebar.php, there is no wp_list_pages() or sort_column=time_modified.

    Help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘database error: “unknown column in order clause”’ is closed to new replies.