This time WordPress found a bug with one of the plugins – MultiVendorX

MultivendorX

Resolved
Viewing 2 reply threads
  • Author
    Posts
    • #216965
      l.gan
      Participant

      Hello
      Thanks for support.
      I found a letter in my mail today. Please could you check this from your side?

      This time WordPress found a bug with one of the plugins - MultiVendorX.
      
      First, go to your website (https://.com/) and check for any visible problems. Next, go to the page where the error occurred (https://.com/wp-admin/edit.php?post_type=product&page=product_attributes) and check for visible problems on it.
      WordPress version 6.4.3
      Current theme: Woodmart Child (version 1.0.0)
      Problem plugin: MultiVendorX (version 4.1.2)
      PHP version 8.0.3
      
      Error details
      ====================================
      An error of type E_ERROR occurred on line 1339 of the /.com/public_html/wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-mvx-product.php file. Error message: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /.com/public_html/wp-content/plugins/dc-woocommerce-multi-vendor/classes/class -mvx-product.php:1339
      Stack trace:
      #0 /.com/public_html/wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-mvx-product.php(1339): in_array('dc_vendor', NULL)
      #1 [internal function]: MVX_Product->convert_business_id_to_taxonomy_term_in_query(Object(WP_Query))
      #2 /.com/public_html/wp-includes/class-wp-hook.php(324): call_user_func_array(Array, Array)
      #3 /.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
      #4 /.com/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
      #5 /.com/public_html/wp-includes/class-wp-query.php(1881): do_action_ref_array('pre_get_posts', Array)
      #6 /.com/public_html/wp-includes/class-wp-query.php(3824): WP_Query->get_posts()
      #7 .com/public_html/wp-includes/class-wp-query.php(3956): WP_Query->query(Array)
      #8 /.com/public_html/wp-content/plugins/woocommerce/src/Blocks/Patterns/PatternsHelper.php(45): WP_Query->__construct(Array)
      #9 /.com/public_html/wp-content/plugins/woocommerce/src/Blocks/Patterns/PatternsHelper.php(109): Automattic\WooCommerce\Blocks\Patterns\PatternsHelper::get_patterns_ai_data_post()
      #10 /.com/public_html/wp-content/plugins/woocommerce/src/Blocks/BlockPatterns.php(133): Automattic\WooCommerce\Blocks\Patterns\PatternsHelper::get_patterns_dictionary()
      #11 [internal function]: Automattic\WooCommerce\Blocks\BlockPatterns->register_block_patterns('')
      #12 /.com/public_html/wp-includes/class-wp-hook.php(324): call_user_func_array(Array, Array)
      #13 /.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
      #14 /.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
      #15 /.com/public_html/wp-settings.php(643): do_action('init')
      #16 /.com/public_html/wp-config.php(86): require_once('/home/..')
      #17 /.com/public_html/wp-load.php(50): require_once('/home/...')
      #18 /.com/public_html/wp-admin/admin.php(34): require_once('/home/..')
      #19 /.com/public_html/wp-admin/edit.php(10): require_once('/home/...')
      #20 {main}
         thrown
      Copy

      Thank you

    • #216988

      Thanks for reporting this to us. Our team checked this on our end but everything is working fine and we are not able to recreate the same issue on our end.
      It will be really helpful if you kindly share the staging site where the issue is replicated accordingly so that we can have a look and add a solution for the same.

    • #218860

      It’s been long and we have not heard back from you. We presume your query is resolved now. We are closing this thread. If you need help or face issue in future please create a new support ticket.

Viewing 2 reply threads

The topic ‘This time WordPress found a bug with one of the plugins – MultiVendorX’ is closed to new replies.