Hi,
I have a WPML plugin on my site
In the second language, in categories without posts, I have a critical error. In categories in which there are posts – everything is ok
Also I have a test site that has a duplicate site that I made via updraft. And the test site has no error in categories without posts
Newspaper and all TagDiv plugins have been updated to the latest versions. Newspaper version is 14.0. WordPress also updated to latest version – 5.7.1, reinstalled WordPress several times
I also disabled all plugins except TagDiv and WPML – the error still remains
If you select No Template in the Category Global Settings in the Theme Panel – everything is ok, there is no error and No posts to display is written
Help, please, I cannot understand what the problem is
Error:
Fatal error: Uncaught Error: Call to a member function the_post() on null in /var/www/***/wp-includes/query.php:975 Stack trace: #0 /var/www/***/wp-content/plugins/td-cloud-library/wp_templates/tdb_view_category.php(17): the_post() #1 /var/www/***/wp-includes/template-loader.php(106): include('/var/www/***...') #2 /var/www/***/wp-blog-header.php(19): require_once('/var/www/***...') #3 /var/www/***/index.php(17): require('/var/www/***...') #4 {main} thrown in /var/www/***/wp-includes/query.php on line 975
Hello!
Please make sure that all the settings are like in our requirements, please follow the guide carefully: https://forum.tagdiv.com/requirements-for-newspaper/
and please increase all requirements that are lower, and follow all steps.
If this problem is not solved after that, then we need to take a look and see what happened there.
Please contact us via email at contact@tagdiv.com and provide the following:
– admin url and credentials
– a link to this topic in order to identify you
Our team will take a look!
Thank you!
I solved the problem
I don’t know what the problem was
I deleted and re-created the category translations and after that everything worked