Function regular_price was called incorrectly
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from AndrzejP on May 29, 2024, 13:12Hello,
i see in debug.log warning “Function regular_price was called incorrectly”. Do you use that old function?
Hello,
i see in debug.log warning “Function regular_price was called incorrectly”. Do you use that old function?
Quote from Pablo Borysenco on May 30, 2024, 09:24Hello
what plugin version number are you using?
Hello
what plugin version number are you using?
Quote from Pablo Borysenco on May 31, 2024, 11:23Hello
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png and FTP+wp-admin access - https://share.pluginus.net/image/i20230222134615.png - I will check it
Update the plugin to latest version - https://currency-switcher.com/how-to-make-auto-update-for-wordpress-plugins-and-themes-bought-on-envato
Can you send me the full text of the error?
Hello
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png and FTP+wp-admin access - https://share.pluginus.net/image/i20230222134615.png - I will check it
Update the plugin to latest version - https://currency-switcher.com/how-to-make-auto-update-for-wordpress-plugins-and-themes-bought-on-envato
Can you send me the full text of the error?
Quote from AndrzejP on May 31, 2024, 12:35Sorry but I can't find license key. Where can I find it?
I have updated the plugin to latest version 2.4.1.9 using Envato Market plugin.
One line of warrning:
[31-May-2024 09:38:28 UTC] PHP Notice: Function regular_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/electro/page.php'), get_footer, locate_template, load_template, require_once('/themes/electro-child/footer.php'), electro_get_footer, get_footer, locate_template, load_template, require_once('/themes/electro/footer-v2.php'), do_action('electro_footer_v2'), WP_Hook->do_action, WP_Hook->apply_filters, electro_footer_widgets_v2, dynamic_sidebar, WP_Widget->display_callback, WC_Widget_Products->widget, wc_get_template, include('/plugins/woocommerce/templates/content-widget-product.php'), WC_Product->get_price_html, apply_filters('woocommerce_get_price_html'), WP_Hook->apply_filters, Gt_frontend->gt_add_prices_data_attributes, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 3.0.) in /***/***/***/***/***/wp-includes/functions.php on line 6078I have made analize becauxe this warrning is not good explantation and I found execution of function "regular_price" anly in FOX Currency Switcher.
Sorry but I can't find license key. Where can I find it?
I have updated the plugin to latest version 2.4.1.9 using Envato Market plugin.
One line of warrning:
Quote from AndrzejP on May 31, 2024, 12:54I found the license key and pasted it.
I found the license key and pasted it.
Quote from Pablo Borysenco on June 3, 2024, 09:38Hello
Analyzing the error text: the problem is in your child theme. My plugin has this function but only for the old version of woocommerce. That is, this function does not work for new versions of woocommrce and cannot cause this error
Hello
Analyzing the error text: the problem is in your child theme. My plugin has this function but only for the old version of woocommerce. That is, this function does not work for new versions of woocommrce and cannot cause this error
Quote from AndrzejP on June 3, 2024, 13:18Thanks,
you right. The problem was in old plugin.
Thanks,
you right. The problem was in old plugin.