Booster
4.6/5

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: Upload files gives fatal error since version 7.2.5 #55401
    Lode Callens
    Participant

    Via 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.
    in reply to: Upload files gives fatal error since version 7.2.5 #55400
    Lode Callens
    Participant

    My 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:
    Error message after upload

    Can you investigate further and provide a solution? If needed, is going back to 7.2.4 possible?

    Lode Callens
    Participant

    Hi David, that I know. I want to have it conditional mandatory based on the value of a custom checkout field. How can this be done?

    Lode Callens
    Participant

    Hi, tried this already and tried it again now and doesn’t work. Need a solution.

    This is what I get in the subject of the mail I receive:

    [Lions Club Waregem]:Nieuwe bestelling #1222 via Lionslid [wcj_order_checkout_field field_id="billing_wcj_checkout_field_1"]

    This is what’s in the woocommerce mail setting for the subject:

    [{site_title}]:Nieuwe bestelling #{order_number} via Lionslid [wcj_order_checkout_field field_id="billing_wcj_checkout_field_1"]

    What do I need to do?

    Lode Callens
    Participant

    Hi, tried this already and tried it again now and doesn’t work.

    This is what I get in the subject of the mail I receive:

    [Lions Club Waregem]:Nieuwe bestelling #1222 via Lionslid [wcj_order_checkout_field field_id="billing_wcj_checkout_field_1"]

    This is what’s in the woocommerce mail setting for the subject:

    [{site_title}]:Nieuwe bestelling #{order_number} via Lionslid [wcj_order_checkout_field field_id="billing_wcj_checkout_field_1"]

    What do I need to do?

    Lode Callens
    Participant

    Hi @davidg, other people logged this problem already a couple of days ago. As I have multiple webshops running with Booster For Woocommerce this is really urgent. When can we expect the solution?

    Lode Callens
    Participant

    Is there a solution available? Having the same problem.

    in reply to: Order and Customer detail disappeared on packing slips #47473
    Lode Callens
    Participant

    Having the same problem on pdf invoices and pdf packing slips attached to the mail. Strange is that info is visible on the packing slip and invoice in woocommerce view. When will there be a solution? I can sent an example of a pdf if you let me know where to sent it.

Viewing 8 posts - 1 through 8 (of 8 total)