• Resolved cedre83

    (@cedre83)


    For the past two days, I’ve been getting this message when I go to WooCommerce > Settings > Donations: “There has been a critical error on this site. Please check your admin email inbox for instructions. If you continue to have problems, try the support forum.”

    I don’t understand why.

    I tried uninstalling and reinstalling the plugin, but I still get the same message.

    My donation form (shortcode: [wcdp_donation_form id=”1712″ style=”5″]) is no longer appearing on my page either.

    I’m using WordPress with the Elementor theme and WooCommerce. I only have one donation product.

    Thank you for your help.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jonas

    (@flinnn)

    Hi cedre83,

    thanks for reaching out.
    Unfortunately I wasn’t able to reproduce the issue. Could you please check the PHP error log and send it to me for further debugging? https://www.wc-donation.com/documentation/troubleshooting/how-to-access-the-php-error-log/

    Best,
    Jonas

    Thread Starter cedre83

    (@cedre83)

    Hello, thank you for your reply.

    I installed WPMasterToolKit to retrieve the PHP error log, and here’s what the report shows. (File attached). I can create a temporary admin account for you if needed.

    Thank you for your help.

    Best regards

    [09-Jan-2026 05:56:50 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wc-donation-platform</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. Please see <a href=”https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/”>Debugging in WordPress</a> for more information. (This message was added in version 6.7.0.) in /home/u813850765/domains/fondation-missionsante.fr/public_html/wp-includes/functions.php on line 6131

    [09-Jan-2026 05:56:50 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wc-donation-platform</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. Please see <a href=”https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/”>Debugging in WordPress</a> for more information. (This message was added in version 6.7.0.) in /home/u813850765/domains/fondation-missionsante.fr/public_html/wp-includes/functions.php on line 6131

    Thread Starter cedre83

    (@cedre83)

    In another folder (debuglog) I have this :

    [09-Jan-2026 06:08:57 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wc-donation-platform domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u813850765/domains/fondation-missionsante.fr/public_html/wp-includes/functions.php on line 6131
    [09-Jan-2026 06:08:58 UTC] PHP Fatal error: Uncaught ValueError: Unknown format specifier ” ” in /home/u813850765/domains/fondation-missionsante.fr/public_html/wp-content/plugins/wc-donation-platform/includes/class-wcdp-general-settings.php:284
    Stack trace: 0 /home/u813850765/domains/fondation-missionsante.fr/public_html/wp-content/plugins/wc-donation-platform/includes/class-wcdp-general-settings.php(284): sprintf() 1 /home/u813850765/domains/fondation-missionsante.fr/public_html/wp-content/plugins/wc-donation-platform/includes/class-wcdp-general-settings.php(55): WCDP_General_Settings->get_settings() 2 /home/u813850765/domains/fondation-missionsante.fr/public_html/wp-includes/class-wp-hook.php(341): WCDP_General_Settings->settings_tab() 3 /home/u813850765/domains/fondation-missionsante.fr/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters() 4 /home/u813850765/domains/fondation-missionsante.fr/public_html/wp-includes/plugin.php(522): WP_Hook->do_action() 5 /home/u813850765/domains/fondation-missionsante.fr/public_html/wp-content/plugins/woocommerce/includes/admin/views/html-admin-settings.php(79): do_action() 6 /home/u813850765/domains/fondation-missionsante.fr/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php(194): include(‘/home/u81385076…’) 7 /home/u813850765/domains/fondation-missionsante.fr/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php(358): WC_Admin_Settings::output() 8 /home/u813850765/domains/fondation-missionsante.fr/public_html/wp-includes/class-wp-hook.php(341): WC_Admin_Menus->settings_page() 9 /home/u813850765/domains/fondation-missionsante.fr/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters() 10 /home/u813850765/domains/fondation-missionsante.fr/public_html/wp-includes/plugin.php(522): WP_Hook->do_action() 11 /home/u813850765/domains/fondation-missionsante.fr/public_html/wp-admin/admin.php(264): do_action() 12 {main}

    thrown in /home/u813850765/domains/fondation-missionsante.fr/public_html/wp-content/plugins/wc-donation-platform/includes/class-wcdp-general-settings.php on line 284

    Plugin Author Jonas

    (@flinnn)

    Hi cedre83,

    thanks for reaching out.
    Did you add a custom translation for this string? Having issues? First, %1$scheck the documentation%2$s. If that doesn’t solve your problem, feel free to %3$sopen an issue on WordPress.org%4$s!
    The fatal error indicates that you did not translate the format specifiers correctly. Please make sure that the following placeholders are added correctly: %1$s %2$s %3$s %4$s

    Hope this resolves the issue.
    Best,
    Jonas

    PS: If you’ve found Donation Platform for WooCommerce helpful and would like to support the continued growth and development of this WordPress donation plugin, I’d truly appreciate it if you could leave a 5-star rating on WordPress.org. Thank you so much!

    Thread Starter cedre83

    (@cedre83)

    Hello,

    Indeed, a string of characters was incorrectly translated by the Loco Translate plugin. Everything is now working correctly, and I have regained access to the plugin settings in the WooCommerce > Donations section.

    Thank you for your help.

    I left a positive review for your plugin.

    I have another question:

    The foundation for which I developed the website uses your plugin to solicit donations. People can make “one-time” or “recurring” donations. So, in the first step of the questionnaire, I added a choice attribute to the WooCommerce product page, allowing users to choose between one-time and recurring donations. I’m not sure if this has any effect on Stripe at checkout. Is there a specific procedure to follow to make it work this way? I’ve seen that there are additional plugins for WooCommerce and WP Swing, but I don’t fully understand how they work.

    My client would like:

    • One single product
    • Suggested donation amounts
    • The option to choose between one-time or recurring donations for each amount.

    Thank you for your feedback.

    Plugin Author Jonas

    (@flinnn)

    Hi cedre83,

    thanks for the follow up question.
    Has this been resolved? I’m afraid I don’t fully understand the question. You can configure suggested donation amounts: https://www.wc-donation.com/documentation/usage/donation-amount-suggestions/

    Best,
    Jonas

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.