[Backend] Crashing when trying to view the addons screen of Woocommerce
-
Hey guys!
I am getting an error when I click on the subscriptions tab of Woocommerce.
I do not have any PHP snippets and the problem still persits.
I believe the issue could come from the filter that adds the body class to the woocommerce “Subscription” tab on the Admin area for the addons.
https://localhost/marie/wp-admin/admin.php?page=wc-addons§ion=helperI can’t troubleshoot because the stack trace does not reveal that your code is at play here, but by a process of elimination, deactiving custom codes fixes the issue. The issue can be replicated on other sites on live servers.
I do not think it is a rush to fix this because the tab is an admin tab for addons for woocommerce and can be avoided.
Fatal error: Uncaught TypeError: Argument 1 passed to WC_Admin_Addons::filter_admin_body_classes() must be of the type string, null given, called in C:\apps\servers\5\htdocs\marie\wp-includes\class-wp-hook.php on line 303 and defined in C:\apps\servers\5\htdocs\marie\wp-content\plugins\woocommerce\includes\admin\class-wc-admin-addons.php:807 Stack trace: #0 C:\apps\servers\5\htdocs\marie\wp-includes\class-wp-hook.php(303): WC_Admin_Addons::filter_admin_body_classes(NULL) #1 C:\apps\servers\5\htdocs\marie\wp-includes\plugin.php(189): WP_Hook->apply_filters(NULL, Array) #2 C:\apps\servers\5\htdocs\marie\wp-admin\admin-header.php(226): apply_filters('admin_body_clas...', '') #3 C:\apps\servers\5\htdocs\marie\wp-admin\admin.php(239): require_once('C:\\apps\\servers...') #4 {main} thrown in C:\apps\servers\5\htdocs\marie\wp-content\plugins\woocommerce\includes\admin\class-wc-admin-addons.php on line 807 There has been a critical error on this website. Please check your site admin email inbox for instructions.
- The topic ‘[Backend] Crashing when trying to view the addons screen of Woocommerce’ is closed to new replies.