Getting an error from plugin

[ad_1]

2024-08-12T02:39:51+00:00 Critical Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /www/**_235/public/wp-content/plugins/hide-category-by-user-role-for-woocommerce/public/public-ui-setup.php:143

Keeps showing up, please help.

### WordPress Environment ###

WordPress address (URL): https://***.org

Site address (URL): https://***.org

WC Version: 8.8.5

REST API Version: ✔ 8.8.5

Action Scheduler Version: ✔ 3.7.4

Log Directory Writable: ✔

WP Version: ❌ 6.5.3 – There is a newer version of WordPress available (6.6.1)

WP Multisite: –

WP Memory Limit: 256 MB

WP Debug Mode: –

WP Cron: ✔

Language: en_US

External object cache: –

### Server Environment ###

Server Info: nginx/1.25.5

PHP Version: 8.3.6

PHP Post Max Size: 128 MB

PHP Time Limit: 300

PHP Max Input Vars: 10000

cURL Version: 7.68.0

OpenSSL/1.1.1f

SUHOSIN Installed: –

MySQL Version: 10.11.6-MariaDB-1:10.11.6+maria~ubu2004

Max Upload Size: 128 MB

Default Timezone is UTC: ✔

fsockopen/cURL: ✔

SoapClient: ✔

DOMDocument: ✔

GZip: ✔

Multibyte String: ✔

Remote Post: ✔

Remote Get: ✔

### Database ###

WC Database Version: 8.8.5

WC Database Prefix: wp_

Total Database Size: 49.04MB

Database Data Size: 32.17MB

Database Index Size: 16.87MB

wp_woocommerce_sessions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB

wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB

wp_woocommerce_order_items: Data: 0.06MB + Index: 0.02MB + Engine InnoDB

wp_woocommerce_order_itemmeta: Data: 0.30MB + Index: 0.25MB + Engine InnoDB

wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB

wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB

wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_actionscheduler_actions: Data: 2.02MB + Index: 3.36MB + Engine InnoDB

wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_actionscheduler_logs: Data: 1.02MB + Index: 2.03MB + Engine InnoDB

wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_comments: Data: 0.13MB + Index: 0.09MB + Engine InnoDB

wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB

wp_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB

wp_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB

wp_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB

wp_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_global_stock_level_pricing_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

wp_jetpack_sync_queue: Data: 0.02MB + Index: 0.06MB + Engine InnoDB

wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_options: Data: 7.27MB + Index: 0.23MB + Engine InnoDB

wp_pmxe_exports: Data: 0.05MB + Index: 0.00MB + Engine InnoDB

wp_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB + Engine InnoDB

wp_pmxe_posts: Data: 0.09MB + Index: 0.00MB + Engine InnoDB

wp_pmxe_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

wp_postmeta: Data: 10.34MB + Index: 7.52MB + Engine InnoDB

wp_posts: Data: 8.31MB + Index: 0.69MB + Engine InnoDB

wp_stock_level_pricing_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_term_relationships: Data: 0.06MB + Index: 0.02MB + Engine InnoDB

wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_usermeta: Data: 0.45MB + Index: 0.16MB + Engine InnoDB

wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB

wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB

wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_wc_mnm_child_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB

wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB

wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB

wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_wc_product_attributes_lookup: Data: 0.19MB + Index: 0.13MB + Engine InnoDB

wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_wc_product_meta_lookup: Data: 0.20MB + Index: 0.42MB + Engine InnoDB

wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_woocommerce_square_customers: Data: 0.09MB + Index: 0.00MB + Engine InnoDB

wp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

wp_yoast_indexable: Data: 0.08MB + Index: 0.09MB + Engine InnoDB

wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB

wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

### Post Type Counts ###

acf-field: 25

acf-field-group: 1

attachment: 653

custom_css: 2

customize_changeset: 28

cwginstocknotifier: 16

e-landing-page: 1

elementor_library: 5

feedback: 894

nav_menu_item: 17

page: 15

pdr_product_base: 16

pewc_field: 139

pewc_group: 37

pewc_product_extra: 77

post: 2

product: 49

product_variation: 1206

revision: 117

shop_coupon: 13

shop_order: 110

shop_order_refund: 4

wp_font_face: 10

wp_font_family: 1

wp_global_styles: 3

wp_navigation: 4

wp_template: 7

wp_template_part: 3

### Security ###

Secure connection (HTTPS): ✔

Hide errors from visitors: ✔

### Active Plugins (41) ###

ManageWP – Worker: by GoDaddy – 4.9.19

ACF Content Analysis for Yoast SEO: by Thomas Kräftner

ViktorFroberg

marol87

pekz0r

angrycreative

Team Yoast – 3.1

Advanced Access Manager: by AAM  – 6.9.27

Advanced Custom Fields PRO: by WP Engine – 6.2.9

WooCommerce Product Add-Ons Ultimate Image Preview: by Plugin Republic – 1.0.5.1

WooCommerce Product Add-Ons Ultimate Text Preview: by Plugin Republic – 1.1.8

Back In Stock Notifier for WooCommerce | WooCommerce Waitlist Pro: by codewoogeek – 5.3.2

🔨 Built Mighty Kit: by Built Mighty – 1.7.1

Built Mighty Square Sync: by Built Mighty – 1.0.0

Bulk Discounts for WooCommerce: by Plugify – 2.0.1 (update to version 2.0.3 is available)

Classic Editor: by WordPress Contributors – 1.6.3

Classic Widgets: by WordPress Contributors – 0.3

Elementor Pro: by Elementor.com – 3.21.3

Elementor: by Elementor.com – 3.21.8

Fluid Checkout Address Book: by Fluid Checkout – 2.0.1

Google Address Autocomplete for WooCommerce – By Fluid Checkout: by Fluid Checkout – 2.0.4

Fluid Checkout for WooCommerce – PRO: by Fluid Checkout – 2.1.7

Fluid Checkout for WooCommerce – Lite: by Fluid Checkout – 3.1.8

Hide Category by User Role for WooCommerce: by ThemeSupport – 2.0.2

Jetpack: by Automattic – 13.4.1

WooCommerce Product Add-Ons Ultimate: by Plugin Republic – 3.20.0

Product Visibility by User Role for WooCommerce: by WP Wham – 1.8.1

Safe SVG: by 10up – 2.2.4

Stock Level Pricing Premium: by Andrew – 1.0.2

User Menus: by Code Atlantic – 1.3.2

User Role Editor: by Vladimir Garagulya – 4.64.2

Video User Manuals: by Video User Manuals Pty Ltd – 2.5.13

WooCommerce Product Add-Ons Ultimate Advanced Uploads: by Plugin Republic – 1.2.4

Cart All In One For WooCommerce: by VillaTheme – 1.1.15

Woo Min/Max Quantities: by Woo – 4.1.4 (update to version 5.0.1 is available)

WooCommerce Mix and Match Products: by Kathy Darling – 2.6.1 (update to version 2.7.6 is available)

WooCommerce Shipping & Tax: by WooCommerce – 2.7.0

WooCommerce Stamps.com API integration: by WooCommerce – 1.9.8 (update to version 2.0.3 is available)

WooCommerce USPS Shipping: by WooCommerce – 4.8.2 (update to version 5.0.0 is available)

WooCommerce Square: by WooCommerce – 4.6.1 (update to version 4.7.2 is available)

Tax Exempt for WooCommerce: by Addify – 1.8.0 (update to version 1.8.1 is available)

WooCommerce: by Automattic – 8.8.5 (update to version 9.1.4 is available)

Yoast SEO: by Team Yoast – 22.6

WP Migrate: by WP Engine – 2.6.11

Perfect Images (Optimize, Rebuild, Replace, Thumbnails, Retina): by Jordy Meow – 6.5.5

Zakeke Interactive Product Designer: by Zakeke – 3.8.5

### Inactive Plugins (2) ###

Image Optimizer by Elementor – Compress, Resize and Optimize Images: by Elementor.com – 1.3.0

Stock Level Pricing: by Andrew – 1.0.3

### Must Use Plugins (3) ###

Elementor Safe Mode: by Elementor.com – 1.0.0

Kinsta Must-use Plugins: by Kinsta Team – 3.0.1

ManageWP – Worker Loader: by GoDaddy – 1.0.0

### Settings ###

API Enabled: –

Force SSL: –

Currency: USD ($)

Currency Position: left

Thousand Separator: ,

Decimal Separator: .

Number of Decimals: 2

Taxonomies: Product Types: external (external)

grouped (grouped)

mix and match (mix-and-match)

simple (simple)

variable (variable)

Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)

exclude-from-search (exclude-from-search)

featured (featured)

outofstock (outofstock)

rated-1 (rated-1)

rated-2 (rated-2)

rated-3 (rated-3)

rated-4 (rated-4)

rated-5 (rated-5)

Connected to WooCommerce.com: ✔

Enforce Approved Product Download Directories: ✔

HPOS feature screen enabled: –

HPOS feature enabled: –

Order datastore: WC_Order_Data_Store_CPT

HPOS data sync enabled: –

### Logging ###

Enabled: ✔

Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2

Retention period: 30 days

Level threshold: –

Log directory size: 7 MB

### WC Pages ###

Shop base: #6 – /shop/

Cart: #7 – /cart/

Checkout: #8 – /checkout/

My account: #9 – /my-account/

Terms and conditions: #44 – /terms-and-conditions/

### Theme ###

Name: HarrysButtons

Version: 0.1.0

Author URL: https://www.wondersphere.com/

Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme

WooCommerce Support: ✔

### Templates ###

Overrides: –

### Product Visibility by User Role Settings ###

Product Visibility by User Role: yes

Hide catalog visibility: yes

Make non-purchasable: yes

Modify query: yes

Hide menu items: no

Hide product categories/tags: no

Redirect:

Enable Redirect URLs per product: no

Replace description: no

Content to replace with, e.g.: Log in to see the product description.:

Replace short description: no

Content to replace with, e.g.: Log in to see the product description.:

User roles to display in settings: Array

(

)

Admin products list column: no

Product quick edit: no

Products bulk edit: no

Bulk settings for role guest: not set

Enable/Disable:

Hide all:

Products:

Invisible:

Product categories:

Invisible:

Product tags:

Invisible:

Bulk settings for role administrator: not set

Enable/Disable:

Hide all:

Products:

Invisible:

Product categories:

Invisible:

Product tags:

Invisible:

Bulk settings for role editor: not set

Enable/Disable:

Hide all:

Products:

Invisible:

Product categories:

Invisible:

Product tags:

Invisible:

Bulk settings for role author: not set

Enable/Disable:

Hide all:

Products:

Invisible:

Product categories:

Invisible:

Product tags:

Invisible:

Bulk settings for role contributor: not set

Enable/Disable:

Hide all:

Products:

Invisible:

Product categories:

Invisible:

Product tags:

Invisible:

Bulk settings for role subscriber: not set

Enable/Disable:

Hide all:

Products:

Invisible:

Product categories:

Invisible:

Product tags:

Invisible:

Bulk settings for role customer: not set

Enable/Disable:

Hide all:

Products:

Invisible:

Product categories:

Invisible:

Product tags:

Invisible:

Bulk settings for role shop_manager: not set

Enable/Disable:

Hide all:

Products:

Invisible:

Product categories:

Invisible:

Product tags:

Invisible:

Bulk settings for role wpseo_manager: not set

Enable/Disable:

Hide all:

Products:

Invisible:

Product categories:

Invisible:

Product tags:

Invisible:

Bulk settings for role wpseo_editor: not set

Enable/Disable:

Hide all:

Products:

Invisible:

Product categories:

Invisible:

Product tags:

Invisible:

Bulk settings for role employee: not set

Enable/Disable:

Hide all:

Products:

Invisible:

Product categories:

Invisible:

Product tags:

Invisible:

### Mix and Match Products ###

Version: 2.6.1

Database Version: 2.6.1

Template Overrides: –

### Square ###

Environment: Production

Tokenization Enabled: ✔

Debug Mode: Off

### Cash App Pay (Square) ###

Environment: Production

Debug Mode: Off

### Admin ###

Enabled Features: activity-panels

analytics

product-block-editor

coupons

core-profiler

customize-store

customer-effort-score-tracks

import-products-task

experimental-fashion-sample-products

shipping-smart-defaults

shipping-setting-tour

homescreen

marketing

mobile-app-banner

navigation

onboarding

onboarding-tasks

product-variation-management

product-virtual-downloadable

product-external-affiliate

product-grouped

product-linked

product-pre-publish-modal

remote-inbox-notifications

remote-free-extensions

payment-gateway-suggestions

shipping-label-banner

subscriptions

store-alerts

transient-notices

woo-mobile-welcome

wc-pay-promotion

wc-pay-welcome-page

Disabled Features: minified-js

new-product-management-experience

product-custom-fields

settings

async-product-editor-category-field

launch-your-store

Daily Cron: ✔ Next scheduled: 2024-08-12 13:51:35 -05:00

Options: ✔

Notes: 51

Onboarding: completed

### Action Scheduler ###

Complete: 2,405

Oldest: 2024-08-06 21:56:49 -0500

Newest: 2024-08-11 21:50:55 -0500

Failed: 12

Oldest: 2023-03-21 08:54:37 -0500

Newest: 2024-07-10 06:40:13 -0500

Pending: 6

Oldest: 2024-08-11 21:54:51 -0500

Newest: 2024-08-14 17:15:53 -0500

### Status report information ###

Generated at: 2024-08-11 21:53:51 -05:00

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer