WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Stops random image in standard theme twenty ten

[Resolved] Stops random image in standard theme twenty ten

  • With a standard theme, this plugin was always working.
    Now I have a problem:

    If I activate Post Types Order, I get a database error:
    [Mon Aug 26 12:23:24 2013] [error] [client ip-adress] WordPress-Database Error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1 SELECT wp_posts.* FROM wp_posts INNER JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id) WHERE 1=1 AND wp_posts.post_type = ‘attachment’ AND (wp_posts.post_status = ‘inherit’) AND ( (wp_postmeta.meta_key = ‘_wp_attachment_is_custom_header’ AND CAST(wp_postmeta.meta_value AS CHAR) = ‘twentyten’) ) GROUP BY wp_posts.ID ORDER BY wp_posts.menu_order, von require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/twentyten/page.php’), get_header, locate_template, load_template, require_once(‘/themes/twentyten/header.php’), get_header_image, get_random_header_image, _get_random_header_data, get_uploaded_header_images, get_posts, WP_Query-]query, WP_Query-]get_posts, referer: http://***/

    http://wordpress.org/plugins/post-types-order/

Viewing 1 replies (of 1 total)
  • Plugin Author nsp-code

    @nsp-code

    It appear somehow the Order BY filter return those require / require_once which really should be there. Check your theme for such filter.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Stops random image in standard theme twenty ten’ is closed to new replies.