paweuek
Forum Replies Created
-
Forum: Plugins
In reply to: [Orphans] Zgodno?? z wersj? 6.7Potwierdzam, ?e na wersji 6.7.1 nadal pojawia si? ten monit
It’s common error with number of plugins after wordpress 6.7 update.
You can read about it here: https://developer.woocommerce.com/2024/11/11/developer-advisory-translation-loading-changes-in-wordpress-6-7/
and here: https://stackoverflow.com/questions/79198701/notice-function-load-textdomain-just-in-time-was-called-incorrectly
You only have to set WP DEBUG to true. It’s not triggered every time I refresh my website but sometimes it occurs and only way to prevent it is to turn off WP DEBUG.Forum: Plugins
In reply to: [WC Price History] CurrenciesI think I’ve managed to figure this out:
add_filter('wc_price_history_lowest_price_html_raw_value_taxed', function ($price, $wc_product) {
function wcml_get_currency_rate($currency_code)
{
if (class_exists('WCML_Multi_Currency')) {
$wcml_multi_currency = new \WCML_Multi_Currency();
$currencies = $wcml_multi_currency->get_currencies();
if (isset($currencies[$currency_code])) {
return $currencies[$currency_code]['rate'];
}
}
return 1;
}
if (class_exists('WCML_Multi_Currency')) {
$current_currency = get_woocommerce_currency();
$default_currency = get_option('woocommerce_currency');
if ($current_currency !== $default_currency) {
$exchange_rate = wcml_get_currency_rate($current_currency);
$price = $price * $exchange_rate;
}
}
return $price;
}, 10, 2);Forum: Plugins
In reply to: [Contact Form 7] [BUG?] Number field onchange triggers all fields validation@takayukister that’s literally default behaviour of your plugin. This validation method doesn’t make sense at all.
Forum: Plugins
In reply to: [Simple Newsletter Plugin - Noptin] Critical errorIt was 7.2. I changed it to 7.4 and now it is fixed. I didn’t know how to close topic but I labled it as resolved. Thank you.