PHP Fatal Error in td-cloud-library Plugin

Posted in: Newspaper
Post count: 3

Dear Team,
I am encountering a critical error on my website related to the td-cloud-library plugin. Here are the details of the error from my logs:

PHP Fatal error: Uncaught Error: Call to a member function is_post_type_archive() on string in /wp-content/plugins/td-cloud-library/td-cloud-library.php:184
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): tdb_add_js_variables()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/general-template.php(3064): do_action()

The issue appears to originate from td-cloud-library.php on line 184, where the is_post_type_archive() function is called on a variable that seems to be an invalid string.

This issue causes a fatal error to occur when an admin account enters a non-existent link (instead of returning a 404 result).

Post count: 21065

Hello!

Please update the WordPress, PHP, and theme versions.
If the problem is still there, then please get in touch with us via email at contact@tagdiv.com and provide the following:
– admin URL and credentials
– cPanel URL and credentials
– a link to this topic to identify you

We’ll check and try to help you as soon as possible!

Thank you!

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