Fora do senso comum. Para além da órbita da desinformação. Rumo ao cosmo do conhecimento.

As publicações mais compartilhadas da Voyager nas redes sociais

    Erro no banco de dados do WordPress: [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 'post_status='publish' AND post_type in ('post','page') GROUP BY ID ' at line 14]
    SELECT ID as post_id,SUM(x.facebook_shares+x.twitter_shares+x.google_shares+x.linkedin_shares+x.pinterest_shares+x.vkontakte_shares) as a, SUM(x.facebook_shares - x.facebook_shares_start +x.twitter_shares - x.twitter_shares_start +x.google_shares - x.google_shares_start + x.linkedin_shares - x.linkedin_shares_start + x.pinterest_shares - x.pinterest_shares_start+ x.vkontakte_shares - x.vkontakte_shares_start) as d ,post_title,post_content FROM wp_top_stories x inner join wp_posts on ID=id_post AND dt_day>'2018-06-18' WHERE ( (x.facebook_shares - x.facebook_shares_start +x.twitter_shares - x.twitter_shares_start +x.google_shares - x.google_shares_start+ x.linkedin_shares - x.linkedin_shares_start + x.pinterest_shares - x.pinterest_shares_start+ x.vkontakte_shares - x.vkontakte_shares_start) >0 ) post_status='publish' AND post_type in ('post','page') GROUP BY ID ORDER BY d DESC LIMIT 0,5

      Erro no banco de dados do WordPress: [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 'post_status='publish' AND post_type in ('post','page') GROUP BY ID ' at line 14]
      SELECT ID as post_id,SUM(x.facebook_shares+x.twitter_shares+x.google_shares+x.linkedin_shares+x.pinterest_shares+x.vkontakte_shares) as a, SUM(x.facebook_shares - x.facebook_shares_start +x.twitter_shares - x.twitter_shares_start +x.google_shares - x.google_shares_start + x.linkedin_shares - x.linkedin_shares_start + x.pinterest_shares - x.pinterest_shares_start+ x.vkontakte_shares - x.vkontakte_shares_start) as d ,post_title,post_content FROM wp_top_stories x inner join wp_posts on ID=id_post AND dt_day>'1963-10-15' WHERE ( (x.facebook_shares - x.facebook_shares_start +x.twitter_shares - x.twitter_shares_start +x.google_shares - x.google_shares_start+ x.linkedin_shares - x.linkedin_shares_start + x.pinterest_shares - x.pinterest_shares_start+ x.vkontakte_shares - x.vkontakte_shares_start) >0 ) post_status='publish' AND post_type in ('post','page') GROUP BY ID ORDER BY d DESC LIMIT 0,30