Home › Forums › Booster Plus Customer Forum › Upload files gives fatal error since version 7.2.5
- This topic has 6 replies, 2 voices, and was last updated 1 year, 1 month ago by
David G.
-
AuthorPosts
-
April 8, 2025 at 5:35 pm #55334
Lode Callens
ParticipantWhen uploading a file via the checkout page I get a fatal error. This is the case since the update to the latest version. Can this be quickly checked as this has customer impact.
Below the related logfile:
2025-04-08T16:48:56+00:00 Kritiek Uncaught ArgumentCountError: Too few arguments to function WCJ_Checkout_Files_Upload::is_extension_blocked(), 1 passed in /data/sites/web/lionsclubwaregembe/www/wp-content/plugins/booster-plus-for-woocommerce/includes/class-wcj-checkout-files-upload.php on line 698 and exactly 2 expected in /data/sites/web/lionsclubwaregembe/www/wp-content/plugins/booster-plus-for-woocommerce/includes/class-wcj-checkout-files-upload.php:437
Aanvullende context
{
“error”: {
“type”: 1,
“file”: “/data/sites/web/lionsclubwaregembe/www/wp-content/plugins/booster-plus-for-woocommerce/includes/class-wcj-checkout-files-upload.php”,
“line”: 437
},
“remote-logging”: true,
“backtrace”: [
“”,
“#0 /data/sites/web/lionsclubwaregembe/www/wp-content/plugins/booster-plus-for-woocommerce/includes/class-wcj-checkout-files-upload.php(698): WCJ_Checkout_Files_Upload->is_extension_blocked(‘…’)”,
“#1 /data/sites/web/lionsclubwaregembe/www/wp-includes/class-wp-hook.php(324): WCJ_Checkout_Files_Upload->process_checkout_files_upload(”)”,
“#2 /data/sites/web/lionsclubwaregembe/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)”,
“#3 /data/sites/web/lionsclubwaregembe/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)”,
“#4 /data/sites/web/lionsclubwaregembe/www/wp-settings.php(704): do_action(‘…’)”,
“#5 /data/sites/web/lionsclubwaregembe/www/wp-config.php(89): require_once(‘…’)”,
“#6 /data/sites/web/lionsclubwaregembe/www/wp-load.php(50): require_once(‘…’)”,
“#7 /data/sites/web/lionsclubwaregembe/www/wp-blog-header.php(13): require_once(‘…’)”,
“#8 /data/sites/web/lionsclubwaregembe/www/index.php(17): require(‘…’)”,
“#9 {main}”,
“thrown”
]
}April 9, 2025 at 5:14 am #55337David G
ParticipantHello @lode-callens,
Thanks for your message.
If possible can you please share screenshots of your configuration settings and screenshots of your issue? So, we can check and help you.
April 14, 2025 at 12:55 pm #55400Lode Callens
ParticipantMy hosting provider investigated the problem also and provided following feedback that points to a bug in the booster plus plugin. That’s very likely as the problem started after upgrade to 7.2.5.
The error generated at the time of the 503 is below:
‘[Thu Apr 10 08:42:25.341687 2025] [error] [pid 1410986] mod_proxy_fcgi.c(887): [client 217.21.177.73:0] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function WCJ_Checkout_Files_Upload::is_extension_blocked(), 1 passed in /data/sites/web/lionsclubwaregembe/www/wp-content/plugins/booster-plus-for-woocommerce/includes/class-wcj-checkout-files-upload.php on line 698 and exactly 2 expected in /data/sites/web/lionsclubwaregembe/www/wp-content/plugins/booster-plus-for-woocommerce/includes/class-wcj-checkout-files-upload.php:437\nStack trace:\n#0 /data/sites/web/lionsclubwaregembe/www/wp-content/plugins/booster-plus-for-woocommerce/includes/class-wcj-checkout-files-upload.php(698): WCJ_Checkout_Files_Upload->is_extension_blocked(‘…’)\n#1 /data/sites/web/lionsclubwaregembe/www/wp-includes/class-wp-hook.php(324): WCJ_Checkout_Files_Upload->process_checkout_files_upload(”)\n#2 /data/sites/web/lionsclubwaregembe/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)\n#3 /data/sites/web/lionsclubwaregembe/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\n#4…”
What happens here is that the function is_extension_blocked() expects two parameters, but only one is called. This causes a “Fatal error,” which prevents the script from continuing. So the plugin tries to check whether the file extension is allowed or blocked, but it messes up because it does not provide all the information the function expects. This is a bug in the code of the plugin itself – not something you’re doing wrong in your WooCommerce setup.
Screenshot of the error after pushing the upload button:

Can you investigate further and provide a solution? If needed, is going back to 7.2.4 possible?
April 14, 2025 at 12:59 pm #55401Lode Callens
ParticipantVia this link you find the booster plus config:
https://lionsclubwaregem.be/wp-content/uploads/2025/04/booster_settings-lionsclubwaregem_be.txt-
This reply was modified 1 year, 1 month ago by
Lode Callens.
May 6, 2025 at 5:58 am #55719David G
ParticipantHi @lode-callens,
Thanks for your message.
Please try replacing the file at the path below. Before doing so, make sure to back up the original file and let us know once it’s done.
Path: wp-content/plugins/booster-plus-for-woocommerce/includes/class-wcj-checkout-files-upload.php
Download link: https://mab.to/t/8t6H4msb8Nx/eu1
-
This reply was modified 1 year, 1 month ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
