Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
waitfortheword

Plugin seems to be triggering a fatal error

I’ve gotten several alerts today that Admin Columns Pro caused a fatal error — this has impacted multiple websites. While the site is still accessible, my clients are locked out of /wp-admin until I manually de-activate or delete the plugin via SFTP. Here’s the code I’m seeing. Is this widespread?

=============

WordPress version 6.8.3
Active theme: #
Current plugin: Admin Columns Pro (version 6.4.23)
PHP version 8.2.29

Error Details
=============

An error of type E_ERROR was caused in line 126 of the file /nas/content/live/#/wp-content/plugins/admin-columns-pro/admin-columns/classes/Service/PluginUpdate.php. 
Error message: Uncaught TypeError: AC\Service\PluginUpdate::add_upgrade_notice_to_response(): 
Return value must be of type ?object, bool returned in /nas/content/live/#/wp-content/plugins/admin-columns-pro/admin-columns/classes/Service/PluginUpdate.php:126
Stack trace:
#0 /nas/content/live/#/wp-includes/class-wp-hook.php(326): AC\Service\PluginUpdate->add_upgrade_notice_to_response(false)
#1 /nas/content/live/#/wp-includes/plugin.php(205): WP_Hook->apply_filters(false, Array)
#2 /nas/content/live/#/wp-includes/option.php(2635): apply_filters('pre_set_site_tr...', Object(stdClass), 'update_plugins')
#3 /nas/content/live/#/wp-includes/update.php(394): set_site_transient('update_plugins', Object(stdClass))
#4 /nas/content/live/#/wp-includes/update.php(1031): wp_update_plugins()
#5 /nas/content/live/#/wp-includes/class-wp-hook.php(324): _maybe_update_plugins('')
#6 /nas/content/live/#/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#7 /nas/content/live/#/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#8 /nas/content/live/#/wp-admin/admin.php(176): do_action('admin_init')
#9 /nas/content/live/#/wp-admin/index.php(10): require_once('/nas/content/li...')
#10 {main}
thrown

1 week, 5 days ago
Stefan van den Dungen Gronovius
Developer

Thanks for reaching out, and sorry for the trouble this caused.

We’ve identified the issue and have already fixed it in the latest release of Admin Columns Pro. The problem could occur when a specific filter did not return the expected value. Because our plugin is written with strict type handling, this unexpected return value resulted in a fatal error.

We’ve now loosened the strictness for global WordPress hooks so this situation will no longer cause issues.

Please update to the latest version of Admin Columns Pro, and everything should function normally again. If you continue to experience any problems, just let us know. We’re here to help.

1 week, 4 days ago

You must be logged in to reply to this topic.