Support » Plugin: Network Posts Extended » exclude blog throwing db error

  • Resolved wasanajones

    (@wasanajones)



    Hi – thanks for great plugin, but running into problem trying to exclude more than one blog

    [netsposts exclude_blog=’36,5′ days=’1000′ show_author=’true’ thumbnail=’true’ size=’90,90′ image_class=’alignleft’ auto_excerpt=’false’ excerpt_length=’150′ paginate=’true’ list=’10’]

    does not display with more than 1 blog excluded
    query monitor plugin shows this:

    SELECT blog_id
    FROM wp9u_blogs
    WHERE public = 1
    AND archived = 0
    AND mature = 0
    AND spam = 0
    AND deleted = 0
    AND (blog_id != 36 ORblog_id != 5 )

    NetworkPosts\C\NetsPostsDBQuery->get_blogs(

    You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘ORblog_id != 5 )’ at line 1

    there are also some php error Notices about woocommerce and estore but I don’t think they’re related to this issue

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.