2024-01-10T09:06:31+00:00 CRITICAL Uncaught Error: Call to a member function get_tax_class() on null in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:232 Stack trace: #0 /var/www/vhosts/mywebsite.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(658): WC_Cart_Totals->get_items_from_cart() #1 /var/www/vhosts/mywebsite.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(150): WC_Cart_Totals->calculate_item_totals() #2 /var/www/vhosts/mywebsite.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(141): WC_Cart_Totals->calculate() #3 /var/www/vhosts/mywebsite.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1408): WC_Cart_Totals->__construct() #4 /var/www/vhosts/mywebsite.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1367): WC_Cart->calculate_totals() #5 /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/salient/nectar/woo/cart.php(157): WC_Cart->set_quantity() #6 /var/www/vhosts/mywebsite.com/httpdocs/wp-includes/class-wp-hook.php(324): Nectar_Woo_Cart::update_cart_quantity() #7 /var/www/vhosts/mywebsite.com/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #8 /var/www/vhosts/mywebsite.com/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /var/www/vhosts/mywebsite.com/httpdocs/wp-admin/admin-ajax.php(203): do_action() #10 {main} thrown dans /var/www/vhosts/mywebsite.com/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php à la ligne 232
I have a standard, up-to-date WordPress site. The PHP error logs are giving many errors throughout day relating to the hook wo_license_cron. I will give the precise error as reported Italian to avoid confusion:
Errore nell’evento Cron di riprogrammazione per l’hook: wo_license_cron, codice di errore: invalid_schedule, messaggio di errore: L’evento programmato non esiste., dati: {“schedule”:”everyday”,”args”:[],”interval”:3600}
For this particular website it is important that I monitor closely the error logs so prefer to get rid of this error. Any ideas how I can fix this error or suppress it?
Thank you
]]>2022-12-06T07:13:31+00:00 CRITICAL Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in public_html/wp-content/plugins/zotpress/lib/shortcode/shortcode.request.php:365
Stack trace:
#0 public_html/wp-includes/class-wp-hook.php(308): Zotpress_shortcode_request('')
#1 public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
#2 public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 public_html/wp-admin/admin-ajax.php(203): do_action('wp_ajax_nopriv_...')
#4 {main}
thrown in public_html/wp-content/plugins/zotpress/lib/shortcode/shortcode.request.php on line 365
]]>BTW, I can’t get to the admin side either.
]]>10-01-2022 @ 16:27:39 – start register hooks
10-01-2022 @ 16:27:39 – payment_info_on_product_hook def=15
10-01-2022 @ 16:27:39 – payment_info_on_product_cat_hook def=woocommerce_after_shop_loop_item_title
10-01-2022 @ 16:27:39 – all hooks have been register`
]]>we had this warning/error logs on some of our websites.
PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘filter_upsells_order’ not found or invalid function name in /home/augertor/public_html/wp-includes/class-wp-hook.php on line 307
]]>I have a WordPress website, Cyber panel, Openlitespeed, and LiteSpeed cache.
Error Logs shows these warnings and errors;
2021-11-25 13:05:24.610442 [WARN] [75278] createLockFile for file /home/example..com/public_html/wp-content/litespeed/js/6c0b672eed6468227c3e37e56d503658.js failed!
2021-11-25 14:49:39.988088 [WARN] [75275] createLockFile for file /home/example..com/public_html/wp-content/litespeed/css/119eed7fdff99917a269d95518dd8f5d.css failed!
2021-11-25 14:49:40.556464 [WARN] [75278] createLockFile for file /home/example..com/public_html/wp-content/litespeed/js/faf400dd56231a007087cb8f427dff1d.js failed!
2021-11-26 03:13:45.480612 [WARN] [75278] createLockFile for file /home/example..com/public_html/wp-content/litespeed/css/119eed7fdff99917a269d95518dd8f5d.css failed!
2021-11-26 03:13:45.515878 [WARN] [75277] createLockFile for file /home/example..com/public_html/wp-content/litespeed/css/291caa850ff7f6d925496cc966f1e268.css failed!
2021-11-26 03:55:04.092725 [WARN] [75277] createLockFile for file /home/example..com/public_html/wp-content/litespeed/js/faf400dd56231a007087cb8f427dff1d.js failed!
2021-11-26 12:51:37.171234 [WARN] [75276] createLockFile for file /home/example..com/public_html/wp-content/litespeed/css/1def4d00936ed9c0e8073e02ac94bc48.css failed!
2021-11-26 14:03:06.415930 [WARN] [75276] createLockFile for file /home/example.com/public_html/wp-content/litespeed/js/2a9d4454fd70b98f17ac7f877333479f.js failed!
2021-11-26 18:48:11.818465 [ERROR] [160197] [config:server:vhosts:vhost:example..com] Invalid User Name($VH_USER) or Group Name($VH_USER)!
2021-11-26 18:48:11.880370 [ERROR] [160197] [(null)] rewrite: invalid rewrite directive while parsing: RewriteEngine on
[config:server:vhosts:vhost:example..com:epsr:coppe3251.50040] Improper configuration: the value of LSAPI_CHILDREN should not be less than ‘Max connections’, ‘Max connections’ is reduced to 10.
How can these be fixed? Would you please recommend an expert who can help me with this?
Thank you and kind regards,
Tony Hisir
[10-Jun-2021 10:53:24 UTC] PHP Warning: session_start(): Cannot start session when headers already sent in /home/xxxxxxx/public_html/wp/wp-content/plugins/honeypot/wp-armour.php on line 19
Any idea?
Thanks!
]]>Sin embargo veo que este plug no se actualiza desde hace 6 a?os, y con la última actualización de woocommerce, me está arrojando algunos errores que de cara al cliente, parecen no influir en el proceso, porque las transacciones pasan sin problemas y son aprobadas, canceladas, o pendientes como normalmente sucede.
Pero en los logs, cada vez que alguien registra una nueva compra aparecen las siguents 4 líneas de error:
——-
1. id was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_payulatam->process_payment, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
2. order_key was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_payulatam->process_payment, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
3. The woocommerce_get_page_id function is deprecated since version 3.0. Replace with wc_get_page_id.
4. The wc_get_page_id argument is deprecated since version 2.1. The “pay” and “thanks” pages are no-longer used – an endpoint is added to the checkout instead. To get a valid link use the WC_Order::get_checkout_payment_url() or WC_Order::get_checkout_order_received_url() methods instead.
——-
No soy experto en código y realmente no sé cómo lo puedo solucionar, sin embargo te agradezco o agradeco a quien tenga el conocimiento y me pueda ayudar a corregir estos errores…
]]>