Yith popup edit button showing wordpress critical error
-
Hi
I am using yith popup for subscribing mailchimp form. For the last week it is working after that when I click on popup edit option it is showing wordpress critical error. I tried a lot but no use, Please help me to get solved this issue.
The page I need help with: [log in to see the link]
-
Please someone help me here
Hello @neerajapatnam,
please, enable WordPress debug by adding this:define( 'WP_DEBUG', true );
in the wp-config.php file of your installation before the line with
/* That's all, stop editing! Happy blogging. */
So we can see what error is triggered.
Hi Alberto Ruggiero,
I did the same you said and I watched some error log on site but not understood. I pasted here please check and let me know what all can do. Thanks in advance.
Notice: get_cart was called incorrectly. Get cart should not be called before the wp_loaded action. Backtrace: require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, Woo_Custom_My_Account_Page_Functions->wcmp_add_custom_endpoints, Woo_Custom_My_Account_Page_Functions->get_items_slug, Woo_Custom_My_Account_Page_Functions->wcmp_settings_data, Woo_Custom_My_Account_Page_Functions->default_endpoint_settings, wc_get_account_menu_items, WC_Payment_Gateways->get_available_payment_gateways, Woo_Download_Credits_Gateway->is_available, Woo_Download_Credits::cart_using_credits, WC_Cart->get_cart, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /home/dh3msw3ttt6e/public_html/wp-includes/functions.php on line 5663 Notice: get_cart was called incorrectly. Get cart should not be called before the wp_loaded action. Backtrace: require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, Woo_Custom_My_Account_Page_Functions->wcmp_add_custom_endpoints, Woo_Custom_My_Account_Page_Functions->get_items_slug, Woo_Custom_My_Account_Page_Functions->wcmp_settings_data, Woo_Custom_My_Account_Page_Functions->default_endpoint_settings, wc_get_account_menu_items, WC_Payment_Gateways->get_available_payment_gateways, Woo_Download_Credits_Gateway->is_available, Woo_Download_Credits::cart_using_credits, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, do_action('woocommerce_cart_loaded_from_session'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->set_session, WC_Cart_Session->get_cart_for_session, WC_Cart->get_cart, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /home/dh3msw3ttt6e/public_html/wp-includes/functions.php on line 5663 Notice: get_cart was called incorrectly. Get cart should not be called before the wp_loaded action. Backtrace: require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, Woo_Custom_My_Account_Page_Functions->init, Woo_Custom_My_Account_Page_Functions->wcmp_settings_data, Woo_Custom_My_Account_Page_Functions->default_endpoint_settings, wc_get_account_menu_items, WC_Payment_Gateways->get_available_payment_gateways, Woo_Download_Credits_Gateway->is_available, Woo_Download_Credits::cart_using_credits, WC_Cart->get_cart, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /home/dh3msw3ttt6e/public_html/wp-includes/functions.php on line 5663 Notice: get_cart was called incorrectly. Get cart should not be called before the wp_loaded action. Backtrace: require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, Woo_Custom_My_Account_Page_Functions->init, Woo_Custom_My_Account_Page_Functions->wcmp_settings_data, Woo_Custom_My_Account_Page_Functions->default_endpoint_settings, wc_get_account_menu_items, WC_Payment_Gateways->get_available_payment_gateways, apply_filters('woocommerce_available_payment_gateways'), WP_Hook->apply_filters, Woo_Download_Credits->available_payment_gateways, Woo_Download_Credits::cart_using_credits, WC_Cart->get_cart, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /home/dh3msw3ttt6e/public_html/wp-includes/functions.php on line 5663
Please check above code
Regards,
Neeraja.Hello everyone
Please anybody help me here. I am unable to access yith popup edit option. As it is showing
There has been a critical error on this website.Learn more about troubleshooting WordPress.
Can anyone tell how to solve this.
Thanks in advance
Neeraja.
Hi there,
Unfortunately that log isn’t useful to understand the issue.
Could you check in WooCommerce->Status->Log if there are log with name “fatal error” ?Hi,
I just realized there are so many logs about fatal errors. How do I solve this?
Thanks,
Neeraja.
Hi @neerajapatnam
Could you check if there are fatal with our plugin and write in the next reply the error ?Hi sir,
Thank you for replying me. Below I am pasting the error code related to Yith woocommerce popup plugin. Please check and let me know what can be done.
2021-12-22T05:00:14+00:00 CRITICAL Uncaught Error: Class 'Mailchimp' not found in /home/dh3msw3ttt6e/public_html/wp-content/plugins/yith-woocommerce-popup/includes/newsletter-integration/Mailchimp.php:312 Stack trace: #0 /home/dh3msw3ttt6e/public_html/wp-content/plugins/yith-woocommerce-popup/includes/newsletter-integration/Mailchimp.php(281): YITH_Popup_Newsletter_Mailchimp->set_mailchimp_lists('c127eb533e1881a...', 4280) #1 /home/dh3msw3ttt6e/public_html/wp-content/plugins/yith-woocommerce-popup/includes/newsletter-integration/Mailchimp.php(145): YITH_Popup_Newsletter_Mailchimp->get_mailchimp_lists(false, 4280) #2 /home/dh3msw3ttt6e/public_html/wp-includes/class-wp-hook.php(303): YITH_Popup_Newsletter_Mailchimp->add_metabox_field(Array) #3 /home/dh3msw3ttt6e/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array) #4 /home/dh3msw3ttt6e/public_html/wp-content/plugins/yith-woocommerce-popup/plugin-options/metabox/ypop-metabox.php(300): apply_filters('yith-popup-news...', Array) #5 /home/dh3msw3ttt6e/public_html/wp-content/ in /home/dh3msw3ttt6e/public_html/wp-content/plugins/yith-woocommerce-popup/includes/newsletter-integration/Mailchimp.php on line 312
regards,
Neeraja.Anyone please solve the issue. I am facing problem here.
Thanks in advance
Hi @neerajapatnam can you please update the plugin to the latest version?
Thanks for reply, but the plugin is in latest version 1.9.0
Hi, the latest version is 1.10.0
Thank you, yesterday got latest version for this plugin. now it’s fine
- The topic ‘Yith popup edit button showing wordpress critical error’ is closed to new replies.