Forum Replies Created
-
AuthorPosts
-
riad.zouki
ParticipantAlso sorry any idea what could be causing this issue. We received around 1000 email today
riad.zouki
ParticipantThank you
I see this in my functions.php
add_filter( ‘woocommerce_product_tabs’, ‘woo_remove_product_tabs’, 99 );
function woo_remove_product_tabs( $tabs ) {
unset( $tabs[‘wcmp_customer_qna’] ); // Questions & Answers
unset( $tabs[‘singleproductmultivendor’] ); // More Offer
unset( $tabs[‘product-vendor’] ); // Vendor Tab
return $tabs;
}I changed to is that correct
add_filter( ‘woocommerce_product_tabs’, ‘woo_remove_product_tabs’, 99 );
function woo_remove_product_tabs( $tabs ) {
unset( $tabs[‘mvx_customer_qna’] ); // Questions & Answers
unset( $tabs[‘singleproductmultivendor’] ); // More Offer
unset( $tabs[‘product-vendor’] ); // Vendor Tab
return $tabs;
}riad.zouki
ParticipantThank you
riad.zouki
ParticipantAny direction you can give us for that custom code?
riad.zouki
ParticipantThe commission is coming but for the vendor is there any specific field I need to use something like _vendorxxx
_commission_per_product this is working fine for commission.June 3, 2024 at 10:43 AM in reply to: We keep receiving the error email after updating we dont know whats causing this #220378riad.zouki
ParticipantThanks sangita. The thing is when disable mxv this link https://afandee.com/wp-admin/edit.php?post_status=draft&post_type=product gives 404 for logged out users but when enabled its giving the 500 server error.
May 21, 2024 at 10:07 AM in reply to: We keep receiving the error email after updating we dont know whats causing this #220081riad.zouki
ParticipantSFTP
65.109.101.121
QdlkdWQpP7iGwKPo
GEx0S12I3HRNFseZHowdy!
WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with one of your plugins, MultiVendorX.
First, visit your website (https://afandee.com/) and check for any visible issues. Next, visit the page where the error was caught (https://afandee.com/wp-admin/edit.php?post_status=draft&post_type=product) and check for any visible issues.
Please contact your host for assistance with investigating this issue further.
If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.
To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.5.3
Active theme: Flatsome Child (version 3.0)
Current plugin: MultiVendorX (version 4.1.10)
PHP version 8.1.28Error Details
=============
An error of type E_ERROR was caused in line 1340 of the file /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-mvx-product.php. Error message: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-mvx-product.php:1340
Stack trace:
#0 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-mvx-product.php(1340): in_array()
#1 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/class-wp-hook.php(324): MVX_Product->convert_business_id_to_taxonomy_term_in_query()
#2 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/plugin.php(565): WP_Hook->do_action()
#4 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/class-wp-query.php(1881): do_action_ref_array()
#5 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/class-wp-query.php(3824): WP_Query->get_posts()
#6 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/class-wp-query.php(3956): WP_Query->query()
#7 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php(1009): WP_Query->__construct()
#8 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(224): WC_Order_Data_Store_CPT->query()
#9 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/woocommerce/includes/class-wc-order-query.php(87): WC_Data_Store->__call()
#10 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/woocommerce/includes/wc-order-functions.php(69): WC_Order_Query->get_orders()
#11 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/woocommerce-smart-coupons/includes/class-wc-smart-coupons.php(7078): wc_get_orders()
#12 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/woocommerce-smart-coupons/includes/class-wc-smart-coupons.php(355): WC_Smart_Coupons->maybe_sync_orders_prior_to_800()
#13 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/class-wp-hook.php(324): WC_Smart_Coupons->add_sc_options()
#14 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#15 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#16 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-settings.php(695): do_action()
#17 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-config.php(106): require_once(‘…’)
#18 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-load.php(50): require_once(‘…’)
#19 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-admin/admin.php(34): require_once(‘…’)
#20 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-admin/edit.php(10): require_once(‘…’)
#21 {main}
thrownMay 21, 2024 at 10:06 AM in reply to: We keep receiving the error email after updating we dont know whats causing this #220080riad.zouki
ParticipantWe cant really tell when this is happening. But we keep getting the below
Here is the SFTP
65.109.101.121
QdlkdWQpP7iGwKPo
GEx0S12I3HRNFseZHere is the temp admin login https://afandee.com/wp-admin/?wtlwp_token=4553cc43100927cea683e9a2bdeb6aef973d4f99d69b6f23383c89e3a20d94e5412326c39140faf00f98da0537ac86332f880416ff44cb32613f59d131c11efa
Howdy!
WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with one of your plugins, MultiVendorX.
First, visit your website (https://afandee.com/) and check for any visible issues. Next, visit the page where the error was caught (https://afandee.com/wp-admin/edit.php?post_status=draft&post_type=product) and check for any visible issues.
Please contact your host for assistance with investigating this issue further.
If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.
To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.5.3
Active theme: Flatsome Child (version 3.0)
Current plugin: MultiVendorX (version 4.1.10)
PHP version 8.1.28Error Details
=============
An error of type E_ERROR was caused in line 1340 of the file /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-mvx-product.php. Error message: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-mvx-product.php:1340
Stack trace:
#0 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-mvx-product.php(1340): in_array()
#1 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/class-wp-hook.php(324): MVX_Product->convert_business_id_to_taxonomy_term_in_query()
#2 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/plugin.php(565): WP_Hook->do_action()
#4 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/class-wp-query.php(1881): do_action_ref_array()
#5 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/class-wp-query.php(3824): WP_Query->get_posts()
#6 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/class-wp-query.php(3956): WP_Query->query()
#7 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php(1009): WP_Query->__construct()
#8 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(224): WC_Order_Data_Store_CPT->query()
#9 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/woocommerce/includes/class-wc-order-query.php(87): WC_Data_Store->__call()
#10 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/woocommerce/includes/wc-order-functions.php(69): WC_Order_Query->get_orders()
#11 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/woocommerce-smart-coupons/includes/class-wc-smart-coupons.php(7078): wc_get_orders()
#12 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/woocommerce-smart-coupons/includes/class-wc-smart-coupons.php(355): WC_Smart_Coupons->maybe_sync_orders_prior_to_800()
#13 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/class-wp-hook.php(324): WC_Smart_Coupons->add_sc_options()
#14 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#15 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#16 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-settings.php(695): do_action()
#17 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-config.php(106): require_once(‘…’)
#18 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-load.php(50): require_once(‘…’)
#19 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-admin/admin.php(34): require_once(‘…’)
#20 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-admin/edit.php(10): require_once(‘…’)
#21 {main}
thrownMay 20, 2024 at 8:57 PM in reply to: We keep receiving the error email after updating we dont know whats causing this #220082riad.zouki
ParticipantSFTP
65.109.101.121
QdlkdWQpP7iGwKPo
GEx0S12I3HRNFseZError Details
=============
An error of type E_ERROR was caused in line 1340 of the file /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-mvx-product.php. Error message: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-mvx-product.php:1340
Stack trace:
#0 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-mvx-product.php(1340): in_array()
#1 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/class-wp-hook.php(324): MVX_Product->convert_business_id_to_taxonomy_term_in_query()
#2 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/plugin.php(565): WP_Hook->do_action()
#4 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/class-wp-query.php(1881): do_action_ref_array()
#5 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/class-wp-query.php(3824): WP_Query->get_posts()
#6 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/class-wp-query.php(3956): WP_Query->query()
#7 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php(1009): WP_Query->__construct()
#8 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(224): WC_Order_Data_Store_CPT->query()
#9 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/woocommerce/includes/class-wc-order-query.php(87): WC_Data_Store->__call()
#10 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/woocommerce/includes/wc-order-functions.php(69): WC_Order_Query->get_orders()
#11 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/woocommerce-smart-coupons/includes/class-wc-smart-coupons.php(7078): wc_get_orders()
#12 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-content/plugins/woocommerce-smart-coupons/includes/class-wc-smart-coupons.php(355): WC_Smart_Coupons->maybe_sync_orders_prior_to_800()
#13 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/class-wp-hook.php(324): WC_Smart_Coupons->add_sc_options()
#14 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#15 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#16 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-settings.php(695): do_action()
#17 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-config.php(106): require_once(‘…’)
#18 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-load.php(50): require_once(‘…’)
#19 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-admin/admin.php(34): require_once(‘…’)
#20 /home/QdlkdWQpP7iGwKPo/Afandee/public_html/wp-admin/edit.php(10): require_once(‘…’)
#21 {main}
thrown -
AuthorPosts
