Home › Forums › WoodMart support forum › critical error after install MyParcel update
critical error after install MyParcel update
- This topic has 16 replies, 3 voices, and was last updated 4 years, 6 months ago by Artem Temos.
-
AuthorPosts
-
June 9, 2020 at 5:28 pm #202152
GoldenlionParticipantHello,
I updated a plugin MyParcel, this is my shipping provider.
After that I got a critical error message on the frontpageThis is the message in the log file:
Fatal error: Uncaught Error: Call to undefined function is_vendor_dashboard() in /var/www/html/site/wp-content/themes/woodmart/inc/integrations/wcmp.php:11
Stack trace:
#0 /var/www/html/site/wp-includes/class-wp-hook.php(287): woodmart_wcmp_dequeue_styles(”)
#1 /var/www/html/site/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#2 /var/www/html/site/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#3 /var/www/html/site/wp-includes/script-loader.php(2294): do_action(‘wp_enqueue_scri…’)
#4 /var/www/html/site/wp-includes/class-wp-hook.php(287): wp_enqueue_scripts(”)
#5 /var/www/html/site/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
#6 /var/www/html/site/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#7 /var/www/html/site/wp-includes/general-template.php(2884): do_action(‘wp_head’)
#8 /var/www/html/site/wp-content/themes/woodmart/header.php(13): wp_head()
#9 /var/www/html/site/wp-includes/template.php(723): require_once(‘/var/www/html/s…’)
#10 /var/www/html/s in /var/www/html/site/wp-content/themes/woodmart/inc/integrations/wcmp.php on line 11Can you tell me what I can do about it?
Thanks
June 9, 2020 at 10:15 pm #202189
Elise NoromitMemberHello,
Please make the full backup of your site and check the issue on the free Storefront theme to detect if our theme causes the problem.
Best Regards
June 10, 2020 at 9:00 am #202295
GoldenlionParticipantHello Elise,
With Storefront theme the error message is gone!
Best regards
June 10, 2020 at 12:05 pm #202357
Artem TemosKeymasterHello,
Could you please disable all plugins that are not related to our theme and provide us your admin and FTP access so we can check it?
Thank you in advance
June 10, 2020 at 12:53 pm #202379
GoldenlionParticipantHello Artem,
See private content:
Thanks.
Best regards.
June 10, 2020 at 1:22 pm #202391
Artem TemosKeymasterIt seems that this plugin uses the same PHP class as another plugin https://ru.wordpress.org/plugins/dc-woocommerce-multi-vendor/
And this causes such conflict since our theme relies on this class.
You need to contact plugin’s developers and ask them to fix this collision since they will not be compatible. And because of this Myparcel will not be compatible with our theme as well.June 10, 2020 at 1:24 pm #202392
GoldenlionParticipantHi Artem,
Thanks for you quick reply.
But we don’t have this plugin (multi-vendor) at all in our site. Do you mean another maybe?Best regards
June 10, 2020 at 1:26 pm #202393
Artem TemosKeymasterYes, you don’t have this plugin. But another plugin (Myparcel) has the same PHP class and causes such collision. Our theme “think” that you have multivendors plugin. Contact plugin’s developers and they should fix this problem since it is a very popular plugin.
June 10, 2020 at 1:28 pm #202398
GoldenlionParticipantHi Artem,
Ah, now I understand, I will contact MyParcel to solve this.
Thnaks,
Best regards.
June 10, 2020 at 1:51 pm #202406
Artem TemosKeymasterOK, contact us if you will have any questions.
June 11, 2020 at 8:17 am #202601
GoldenlionParticipantHi Artem,
Could you please share with us which PHP class it is?
Thanks.
Best regards
June 11, 2020 at 8:36 am #202608
Artem TemosKeymasterPHP class name is
WCMp
June 11, 2020 at 9:20 am #202625
GoldenlionParticipantThanks!
June 11, 2020 at 2:24 pm #202717
GoldenlionParticipantHello Artem,
Since we do not use WC-Marketplace, is there a way to avoid the compatibility code of this plugin?
MyParcel has built their whole plugin based on their wcmp.php (WooCommerceMyParcel)Thanks for your reply.
Best regards.
June 11, 2020 at 2:31 pm #202720
Artem TemosKeymasterTry to add the following PHP code snippet to the child theme functions.php file to fix this
function woodmart_wcmp_custom_css() { return ''; } function woodmart_wcmp_dequeue_styles() { return ''; }
June 11, 2020 at 2:40 pm #202724
GoldenlionParticipantHi Artem,
Well, that’s great.
I will check if everything works like it should be.Thank you very much…
Best regards.
June 12, 2020 at 6:05 am #202842
Artem TemosKeymasterYou are welcome.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register