Advanced Post Manager E_ERROR in tribe-filters.class.php
-
The past few months we receive this automated email from WordPress regarding a “fatal error” caused by the tribe-filters.class.php. Yet, when I login to the website, everything appears to be fine. Since this plugin hasn’t been updated in 6 months, it might be time to fix a few things, including this.
Here are some specifics regarding the error included in the email:
WordPress version: 6.1.1
Page where the error was caught:
https://[our_domain].org/wp-admin/edit.php?post_type=tribe_events (Actual domain not relevant to the issue, just to show that the error is being thrown by the events editor page.)
Active Theme: Dynamic Divi Child Theme (version ) Current plugin:
Advanced Post Manager (version 4.5.3)
PHP version 8.0.27
Error Details
An error of type E_ERROR was caused in line 460 of the file /var/www/html/wp-content/plugins/advanced-post-manager/lib/tribe-filters.class.php.
Error message: Uncaught TypeError: json_decode(): Argument #1 ($json) must be of type string, array given in
/var/www/html/wp-content/plugins/advanced-post-manager/lib/tribe-filters.class.php:460
Stack trace:
0 /var/www/html/wp-content/plugins/advanced-post-manager/lib/tribe-filters.class.php(460):
json_decode()
1 /var/www/html/wp-content/plugins/advanced-post-manager/lib/tribe-filters.class.php(352):
Tribe_Filters->last_query()
2 /var/www/html/wp-includes/class-wp-hook.php(308):
Tribe_Filters->init_active()
3 /var/www/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
4 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action()
5 /var/www/html/wp-admin/admin.php(175): do_action()
6 /var/www/html/wp-admin/edit.php(10): require_once(‘…’)
7 {main}
thrown
- The topic ‘Advanced Post Manager E_ERROR in tribe-filters.class.php’ is closed to new replies.