sofie1ele
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Woocommerce won’t change language to NLHi,
I do not use any transaltion plugin.
I changed the language from nl_NL to English, and I saw the change under woocommerce > status : there the language switched correctly. See here: https://pasteboard.co/tKI7eDMnn4Zj.png
I checked that the correct language files are located here as you say: /wp-content/languages/plugins/There are no fatal errors in the logs.
Here you have the status: https://gist.github.com/shaktimanpurush/40468226bf72660b8d4b897444c7180e
It is weird as all other plugins translate correctly. Is there any way like in functions.php I can force woocommerce to use the nl_NL ?
thanks !
Hi, sorry, I already deleted the plugin. I was a big fan, as with your plugin I am not dependent on google, and it’s very heavy and bloated recaptcha (and bye bye privacy).
It could be due to the pop-up and the wp rocket caching.
It would be wonderful if your plugin would work with the same stability as Google recaptcha.Thank you !
@gravid7 : Hi, I alreadly and very gladly gave you a 5 star review 5 days ago:
@gravid7 thanks ! Now it works like a charm π
This option is somewhat deeply hidden inside Booster. It should be mentioned on the EU Vat support page.
BUt it works, happy to use Booster for this !
Thank you so much, it was not a WP core file, but a Booster file.
I just had to do a small change in /wp-content/plugins/booster-plus-for-woocommerce/includes/functions/wcj-functions-general.php
By updating this wcj_add_allowed_html function (around line 1068) to this
if ( ! function_exists( 'wcj_add_allowed_html' ) ) {
/**
* Wcj_add_allowed_html.
*
* @version 7.2.5
* @since 5.6.0
* @param array $allowed_html to get default allowed html.
* @param string $context to get default context.
*/
function wcj_add_allowed_html( $allowed_html, $context ) {
// If Elementor is running (editor, ajax, REST), bail early.
if (
( isset( $_REQUEST['action'] ) && strpos( $_REQUEST['action'], 'elementor' ) !== false ) ||
( isset( $_SERVER['REQUEST_URI'] ) && strpos( $_SERVER['REQUEST_URI'], '/elementor' ) !== false )
) {
return $allowed_html; // Don't touch anything.
}
$allowed_extra_html = array(
'input' => array(
'type' => true,
'name' => true,
'value' => true,
'id' => true,
'checked' => true,
'class' => true,
'style' => true,
'placeholder' => true,
'dateformat' => true,
'mindate' => true,
'maxdate' => true,
'excludemonths' => true,
'excludedays' => true,
'firstday' => true,
'display' => true,
'required' => true,
'min' => true,
'max' => true,
'disabled' => true,
'step' => true,
'changeyear' => true,
'yearrange' => true,
'timeformat' => true,
'interval' => true,
'readonly' => true,
'data-blocked_dates' => true,
'currentday_time_limit' => true,
'data-blocked_dates_format' => true,
'accept' => true,
'data-*' => true,
'attribute_*' => true,
'variation_id' => true,
'size' => true,
'maxlength' => true,
),
'textarea' => array(
'name' => true,
'value' => true,
'id' => true,
'class' => true,
'style' => true,
'placeholder' => true,
'required' => true,
'disabled' => true,
'autocomplete' => true,
'maxlength' => true,
),
'select' => array(
'multiple' => true,
'name' => true,
'class' => true,
'id' => true,
'style' => true,
'size' => true,
'disabled' => true,
'type' => true,
'required' => true,
),
'option' => array(
'value' => true,
'style' => true,
'selected' => true,
'class' => true,
'disabled' => true,
),
'span' => array(
'id' => true,
'style' => true,
'class' => true,
'data-tip' => true,
'disabled' => true,
),
'td' => array(
'style' => true,
'class' => true,
),
'tr' => array(
'id' => true,
'style' => true,
'class' => true,
),
'th' => array(
'scope' => true,
'style' => true,
'class' => true,
),
'label' => array(
'style' => true,
'class' => true,
),
'p' => array(
'class' => true,
'style' => true,
),
'button' => array(
'style' => true,
'class' => true,
'disabled' => true,
'wcj_data' => true,
'fdi' => true,
'var_id' => true,
'customeremail' => true,
'customername' => true,
'offerprice' => true,
'wcj_bestprice_arr_key' => true,
'is_variable' => true,
'product_id' => true,
'image_url' => true,
),
'style' => array(
'type' => true,
),
'a' => array(
'target' => true,
'wcj-copy-data' => true,
'currency_from' => true,
'currency_to' => true,
'start_date' => true,
'end_date' => true,
'input_id' => true,
'start_date' => true,
'is_variable' => true,
'image_url' => true,
'style' => true,
'wcj_data' => true,
),
'details' => array(
'open' => true,
),
'bdi' => true,
'em' => true,
'iframe' => array(
'width' => true,
'height' => true,
'src' => true,
'frameborder' => true,
'allow' => true,
'allowfullscreen' => true,
),
);
$allowed_merged_html = array_merge_recursive( $allowed_html, $allowed_extra_html );
return $allowed_merged_html;
}
add_filter( 'wp_kses_allowed_html', 'wcj_add_allowed_html', PHP_INT_MAX, 2 );
}I trust this fix will be added in the next Booster update.
Thank you for your GREAT support π
Now I can happily keep using Booster
- This reply was modified 6 months, 3 weeks ago by sofie1ele.
Hi, this file: /includes/functions/wcj-functions-general.php is a standard wordpress file, that is not changed by my nor by any plugin or theme. So are you saying I have to change a wordpress core file ?
So is it possible that you update the Booster plugin, so it is compatible ? It is never wise to change wordpress core files, as in any updates this get overriden and this is not good practice for security and bug-prevention.
thanks
Hi,
David G (@gravid7) 5 days ago
Hi @sofie1ele,
Weβve identified a conflict between Booster and Elementor causing the 500 error.
Our team is working on a fix and testing it in a controlled environment.5 days ago you admit there is a fatal error bug of Booster & Woocommerce with Elementor :
Now you suddenly switch and say there is no bug ? This is very strange indeed …
I have just contacted you through your website, and with my UNLIMITED booster account I paid for. You get full access and you can test yourself. Even when deactivating all plugins, and just basic theme, BOOSTER gives the 500 ERROR when Saving Elementor edit page as shop manager. You have surely experienced this also, as you stated it 5 days ago that you saw this bug too… @David GΒ
best regards
Thanks
Hi,
I really appreciate the effort and the investigation… I await patiently this fix, which will benefit lots of other Booster users…
Please keep me posted!
Hi,
I appreciate your effort in solving your bug, as I bought a lifetime Booster access, and I do not think it’s my job to pay for support to solve a native Booster bug, that affects lots of people and all my own sites.
Adding
edit_theme_optionsΒ capability did not solve the issue. I disabled all plugins and enabled one by one: Booster module is the issue.Here you have the debug.log:
[15-Jul-2025 09:46:54 UTC] PHP Fatal error: Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, true given in /home/test.be/wp-content/plugins/elementor/includes/widgets/heading.php:132
Stack trace:
#0 /home/test.be/wp-content/plugins/elementor/includes/widgets/heading.php(132): array_filter()
#1 /home/test.be/wp-content/plugins/elementor/modules/content-sanitizer/module.php(37): Elementor\Widget_Heading->sanitize()
#2 [internal function]: Elementor\Modules\ContentSanitizer\Module->Elementor\Modules\ContentSanitizer\{closure}()
#3 /home/test.be/wp-content/plugins/elementor/includes/db.php(265): call_user_func()
#4 /home/test.be/wp-content/plugins/elementor/includes/db.php(269): Elementor\DB->iterate_data()
#5 /home/test.be/wp-content/plugins/elementor/includes/db.php(262): Elementor\DB->iterate_data()
#6 /home/test.be/wp-content/plugins/elementor/includes/db.php(269): Elementor\DB->iterate_data()
#7 /home/test.be/wp-content/plugins/elementor/includes/db.php(262): Elementor\DB->iterate_data()
#8 /home/test.be/wp-content/plugins/elementor/includes/db.php(269): Elementor\DB->iterate_data()
#9 /home/test.be/wp-content/plugins/elementor/includes/db.php(262): Elementor\DB->iterate_data()
#10 /home/test.be/wp-content/plugins/elementor/includes/db.php(269): Elementor\DB->iterate_data()
#11 /home/test.be/wp-content/plugins/elementor/includes/db.php(269): Elementor\DB->iterate_data()
#12 /home/test.be/wp-content/plugins/elementor/modules/content-sanitizer/module.php(35): Elementor\DB->iterate_data()
#13 /home/test.be/wp-includes/class-wp-hook.php(324): Elementor\Modules\ContentSanitizer\Module->sanitize_content()
#14 /home/test.be/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#15 /home/test.be/wp-content/plugins/elementor/core/base/document.php(823): apply_filters()
#16 /home/test.be/wp-content/plugins/elementor/core/documents-manager.php(548): Elementor\Core\Base\Document->save()
#17 [internal function]: Elementor\Core\Documents_Manager->ajax_save()
#18 /home/test.be/wp-content/plugins/elementor/core/common/modules/ajax/module.php(176): call_user_func()
#19 /home/test.be/wp-includes/class-wp-hook.php(324): Elementor\Core\Common\Modules\Ajax\Module->handle_ajax_request()
#20 /home/test.be/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#21 /home/test.be/wp-includes/plugin.php(517): WP_Hook->do_action()
#22 /home/test.be/wp-admin/admin-ajax.php(192): do_action()
#23 {main}
thrown in /home/test.be/wp-content/plugins/elementor/includes/widgets/heading.php on line 132I see this person already pointed out thi MAJOR BUG from Booster with Elementor & Woocommerce shop manager !
Instead of fixing this, or just plainly taking the simple effort to simulate this issue, you just avoid helping them, and keep this major error for many months…
Very unhappy with Booster.
It takes 3 minutes to just verify the issue on a plain installation, and Booster plugin is the main issue for the 500 server error! Why hasn’t this already been fixed with a Booster update ? Is Booster mothballed and not maintained anymore ?
I have a lifetime subscription, but now for almost a year I can’t use this Booster plugin anymore due to this significant failure…Hi,
Have you tested the most BASIC installation: WP + Woocommerce + Elementor + Booster. It ALWAYS gives a fatal error due to Booster big bug!
Why keep pushing me to contact via the website ? Why not checking yourself and give the solutions here so that anybody facing this major issue can be helped ?
I have a lifetime Booster subscription, I am very disappointed. I already deleted Booster on several websites, because of those major Booster + Elementor errors for the shop manager. So contacting you via your website is pointless, as I deleted Booster on those sites!
Just take 4m of your time, test it on the most basic installation, and see how you can fix the Booster 500 error for shop manager in woocommerce with Elementor.
THANK you for your help(?)
Hi,
This issue is happening almost for a year now!
It happens on ALL woocommerce + Elementor + Booster, and it’s completely caused by Booster. When disabling Booster it’s solved.
So you can simulate this major fatal error easily.
Please let me know exactly which permissions and where I have to add it to the SHOP MANAGER role.
Thanks