Fatal Error on Vendor Dashboard under Storefront and Billing Settings

MultivendorX Pro

Resolved
Viewing 13 reply threads
  • Author
    Posts
    • #146806
      Justin Harrison
      Participant

      I am getting fatal errors on the Vendor Dashboard when going to the Storefront settings and Billing settings. The fatal errors occur under the SEO settings in the Storefront section and under the Stripe connect section in the Billing settings. I have attached screenshots of the errors. Please provide help.

      Here are the error codes that are being reported:

      [21-Nov-2022 22:45:31 UTC] PHP Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, bool given in /home/xxxxxxxxxx/public_html/wp-content/plugins/dc-woocommerce-multi-vendor/api/class-mvx-rest-controller.php:1692
      Stack trace:
      #0 /home/xxxxxxxxxx/public_html/wp-content/plugins/dc-woocommerce-multi-vendor/api/class-mvx-rest-controller.php(1692): in_array(‘simple’, true)
      #1 /home/xxxxxxxxxx/public_html/wp-includes/rest-api/class-wp-rest-server.php(1171): MVX_REST_API->mvx_get_as_per_module_status(Object(WP_REST_Request))
      #2 /home/xxxxxxxxxx/public_html/wp-includes/rest-api/class-wp-rest-server.php(1018): WP_REST_Server->respond_to_request(Object(WP_REST_Request), ‘/mvx_module/v1/…’, Array, NULL)
      #3 /home/xxxxxxxxxx/public_html/wp-includes/rest-api/class-wp-rest-server.php(442): WP_REST_Server->dispatch(Object(WP_REST_Request))
      #4 /home/xxxxxxxxxx/public_html/wp-includes/rest-api.php(410): WP_REST_Server->serve_request(‘/mvx_module/v1/…’)
      #5 /home/xxxxxxxxxx/public_html/wp-includes/class-wp-hook.php(308): rest_api_loaded(Object(WP))
      #6 /home/xxxxxxxxxx/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
      #7 /home/xxxxxxxxxx/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
      #8 /home/xxxxxxxxxx/public_html/wp-includes/class-wp.php(399): do_action_ref_array(‘parse_request’, Array)
      #9 /home/xxxxxxxxxx/public_html/wp-includes/class-wp.php(780): WP->parse_request(”)
      #10 /home/xxxxxxxxxx/public_html/wp-includes/functions.php(1332): WP->main(”)
      #11 /home/xxxxxxxxxx/public_html/wp-blog-header.php(16): wp()
      #12 /home/xxxxxxxxxx/public_html/index.php(17): require(‘/home/devfrontp…’)
      #13 {main}
      thrown in /home/xxxxxxxxxx/public_html/wp-content/plugins/dc-woocommerce-multi-vendor/api/class-mvx-rest-controller.php on line 1692

      [21-Nov-2022 22:45:31 UTC] PHP Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, bool given in /home/xxxxxxxxxx/public_html/wp-content/plugins/dc-woocommerce-multi-vendor/api/class-mvx-rest-controller.php:1688
      Stack trace:
      #0 /home/xxxxxxxxxx/public_html/wp-content/plugins/dc-woocommerce-multi-vendor/api/class-mvx-rest-controller.php(1688): in_array(‘simple’, true)
      #1 /home/xxxxxxxxxx/public_html/wp-includes/rest-api/class-wp-rest-server.php(1171): MVX_REST_API->mvx_get_as_per_module_status(Object(WP_REST_Request))
      #2 /home/xxxxxxxxxx/public_html/wp-includes/rest-api/class-wp-rest-server.php(1018): WP_REST_Server->respond_to_request(Object(WP_REST_Request), ‘/mvx_module/v1/…’, Array, NULL)
      #3 /home/xxxxxxxxxx/public_html/wp-includes/rest-api/class-wp-rest-server.php(442): WP_REST_Server->dispatch(Object(WP_REST_Request))
      #4 /home/xxxxxxxxxx/public_html/wp-includes/rest-api.php(410): WP_REST_Server->serve_request(‘/mvx_module/v1/…’)
      #5 /home/xxxxxxxxxx/public_html/wp-includes/class-wp-hook.php(308): rest_api_loaded(Object(WP))
      #6 /home/xxxxxxxxxx/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
      #7 /home/xxxxxxxxxx/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
      #8 /home/xxxxxxxxxx/public_html/wp-includes/class-wp.php(399): do_action_ref_array(‘parse_request’, Array)
      #9 /home/xxxxxxxxxx/public_html/wp-includes/class-wp.php(780): WP->parse_request(”)
      #10 /home/xxxxxxxxxx/public_html/wp-includes/functions.php(1332): WP->main(”)
      #11 /home/xxxxxxxxxx/public_html/wp-blog-header.php(16): wp()
      #12 /home/xxxxxxxxxx/public_html/index.php(17): require(‘/home/devfrontp…’)
      #13 {main}
      thrown in /home/xxxxxxxxxx/public_html/wp-content/plugins/dc-woocommerce-multi-vendor/api/class-mvx-rest-controller.php on line 1688

    • #146839

      We will add the fix in our next update by next week.

      We have also added a fix in our GitHub.
      So, after downloading the plugin from here – https://github.com/multivendorx/MultiVendorX/archive/refs/heads/main.zip, follow these steps :
      – Delete the installed MultiVendorX via wp-admin >> plugin
      – Unzip the GitHub plugin
      – Rename the folder as “dc-woocommerce-multi-vendor” and remove the master tag. Now, zip this folder again.
      – Install this plugin on your site.
      Please do keep us posted.

    • #146944
      MaxenceTP
      Participant

      Hello, there is the same error in the Advanced Report with MVX Pro : https://prnt.sc/94708-egIXKy
      Can you fix it please ?

    • #146969
      This reply has been marked as private.
    • #147000
      Justin Harrison
      Participant

      Do you have an updated release date on the next version of MultivendorX to clean up some of these Vendor Frontend Dashboard bugs? As of right now, it’s essentially unusable since it would look very unprofessional to have vendors getting error pages. I can download and install your GitHub version of the plugin, but it seems like there are quite a few bugs to be worked out since others are posting similar issues in other areas.

    • #147043
      This reply has been marked as private.
    • #147099
      MaxenceTP
      Participant

      @Moumita I cannot see private answer as I’m not the thread owner, can you please release the fix ?

    • #147101
      Justin Harrison
      Participant

      @MaxenceTP The update will be released this week (so I am assuming that means in the next 2-3 days)

    • #147199

      Yes, we will release the MultiVendorX pro update within this week.

    • #147224
      MaxenceTP
      Participant

      The update was released today, storefront is working but there is still the same error with Advanced Report.
      Can you check ?

    • #147276
      This reply has been marked as private.
    • #147299
      MaxenceTP
      Participant

      I still cannot see your reply as I’m not the thread owner :'(

    • #147324

      Hi, just to keep you informed, this issue is fixed in our MultiVendorX Plugin.
      We will add the fix in our next update by next week.

      For now, you can get the fix from GitHub.
      So, after downloading the plugin from here – https://github.com/multivendorx/MultiVendorX/archive/refs/heads/main.zip, follow these steps :
      – Delete the installed MultiVendorX via wp-admin >> plugin
      – Unzip the GitHub plugin
      – Rename the folder as “dc-woocommerce-multi-vendor” and remove the master tag. Now, zip this folder again.
      – Install this plugin on your site.
      Please do keep us posted.

    • #180114
      WCMp Admin
      Keymaster

      We haven’t heard back from you, so we presume this issue has been fixed.
      So we are closing this one.
      If you need any further help, do open another thread.

Viewing 13 reply threads

The topic ‘Fatal Error on Vendor Dashboard under Storefront and Billing Settings’ is closed to new replies.