Critical error on category pages on mobile

Posted in: Newspaper
Post count: 16

Here’s the debug problem, don’t know what wrong in line 975

[24-May-2021 16:49:37 UTC] PHP Fatal error: Uncaught Error: Call to a member function the_post() on null in /home/wp_99d24c/twsillimanian.com/wp-includes/query.php:975
Stack trace:
#0 /home/wp_99d24c/twsillimanian.com/wp-content/plugins/td-cloud-library/wp_templates/tdb_view_category.php(17): the_post()
#1 /home/wp_99d24c/twsillimanian.com/wp-includes/template-loader.php(106): include('/home/wp_99d24c...')
#2 /home/wp_99d24c/twsillimanian.com/wp-blog-header.php(19): require_once('/home/wp_99d24c...')
#3 /home/wp_99d24c/twsillimanian.com/index.php(17): require('/home/wp_99d24c...')
#4 {main}
thrown in /home/wp_99d24c/twsillimanian.com/wp-includes/query.php on line 975
[24-May-2021 16:49:37 UTC] PHP Notice: is_embed was called incorrectly.

Here’s what’s written on line 975

/**
* Iterate the post index in the loop.
*
* @since 1.5.0
*
* @global WP_Query $wp_query WordPress Query object.
*/
function the_post() {
global $wp_query;
$wp_query->the_post();
}

Post count: 27744

Hello,

The fatal error is usually caused when you have an old version of WordPress.
Please update the WordPress to 5.7.2 and check to see if the problem is still persisting.

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.