Fatal error when searching for posts on backend, cause: WooCommerce Memberships
-
My client is using WooCommerce Memberships, and has a problem when trying to use the search feature on the posts back end. A fatal error is triggered. The error message says that WooCommerce Memberships is involved. Here is the error message:
Fatal error: Uncaught TypeError: Illegal offset type in /nas/content/live/laurenhill/wp-content/plugins/woocommerce-memberships/src/admin/class-wc-memberships-admin.php:814 Stack trace: #0 /nas/content/live/laurenhill/wp-includes/class-wp-hook.php(324): WC_Memberships_Admin->display_restrictable_post_types_bulk_actions_notices(”) #1 /nas/content/live/laurenhill/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #2 /nas/content/live/laurenhill/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /nas/content/live/laurenhill/wp-admin/admin-header.php(303): do_action(‘admin_notices’) #4 /nas/content/live/laurenhill/wp-admin/edit.php(411): require_once(‘/nas/content/li…’) #5 {main} thrown in /nas/content/live/laurenhill/wp-content/plugins/woocommerce-memberships/src/admin/class-wc-memberships-admin.php on line 814
and
Error Details
=============
An error of type E_ERROR was caused in line 814 of the file /nas/content/live/laurenhill/wp-content/plugins/woocommerce-memberships/src/admin/class-wc-memberships-admin.php. Error message: Uncaught TypeError: Illegal offset type in /nas/content/live/laurenhill/wp-content/plugins/woocommerce-memberships/src/admin/class-wc-memberships-admin.php:814
Stack trace:
#0 /nas/content/live/laurenhill/wp-includes/class-wp-hook.php(324): WC_Memberships_Admin->display_restrictable_post_types_bulk_actions_notices(”)
#1 /nas/content/live/laurenhill/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#2 /nas/content/live/laurenhill/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /nas/content/live/laurenhill/wp-admin/admin-header.php(303): do_action(‘admin_notices’)
#4 /nas/content/live/laurenhill/wp-admin/edit.php(411): require_once(‘/nas/content/li…’)
#5 {main}
? thrownI’m reporting this so that perhaps someone might be able to point to whether the plug-in needs an update or if this is on my client’s site. Thanks!
The page I need help with: [log in to see the link]
- The topic ‘Fatal error when searching for posts on backend, cause: WooCommerce Memberships’ is closed to new replies.