Call to a member function is_post_type_archive ERROR

Posted in: Newspaper
Post count: 42

Good afternoon.
Any ideas why I get the error below when a home page requests a non-existent first level url:

2024/02/27 02:45:34 [error] 130683#130683: *113 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to a member function is_post_type_archive() on string in /var/www/mysite.com/wp-content/plugins/td-cloud-library/td-cloud-library.php:184
Stack trace:
#0 /var/www/mysite.com/wp-includes/class-wp-hook.php(324): tdb_add_js_variables()
#1 /var/www/mysite.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /var/www/mysite.com/wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /var/www/mysite.com/wp-includes/general-template.php(3052): do_action()
#4 /var/www/mysite.com/wp-content/plugins/td-composer/legacy/Newspaper/header.php(8): wp_head()
#5 /var/www/mysite.com/wp-content/plugins/td-composer/td-composer.php(252): require_once(‘/var/www/mysite…’)
#6 /var/www/mysite.com/wp-includes/class-wp-hook.php(324): {closure}()
#7 /var/www/mysite.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#8 /var/www/mysite.com/wp-includes/plugin” while reading response header from upstream, client: 111.111.111.111, server: mysite.com, request: “GET /testestest HTTP/2.0”, upstream: “fastcgi://unix:/run/php/php7.4-fpm.mysite.sock:”, host: “mysite.com”

WP version: 6.4.3
Newspaper version: 12.6.4

Thank you.

Post count: 35449

Hi,
Please update the php version from v7.4 to 8.1 or 8.2 and the problem it should be resolved.
Thank you!

Post count: 42

ARE YOU SERIOUS ??????????????????????????????????????

  • This reply was modified 2 years by mdz.
Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.