Error en la base de datos de WordPress: [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 '->posts ORDER BY comment_count DESC LIMIT 0 , 5' at line 2]SELECT
comment_count,ID,post_title FROM $wpdb->posts ORDER BY comment_count DESC LIMIT 0 , 5
Notice: Undefined variable: entradas in /home/grios/public_html/wp-content/themes/grios/custom-templates/blog.php on line 83
Notice: Trying to get property 'posts' of non-object in /home/grios/public_html/wp-content/themes/grios/custom-templates/blog.php on line 83
Warning: Invalid argument supplied for foreach() in /home/grios/public_html/wp-content/themes/grios/custom-templates/blog.php on line 83
Notice: Undefined variable: entradas in /home/grios/public_html/wp-content/themes/grios/custom-templates/blog.php on line 112
Notice: Trying to get property 'max_num_pages' of non-object in /home/grios/public_html/wp-content/themes/grios/custom-templates/blog.php on line 112