Plugin Support
Femi
(@femiyb)
Hello @markvdam
This issue has been resolved in the latest version of the “Mollie Payments for WooCommerce” plugin. Kindly check that you have the latest version installed, if not please upgarde to the latest version.
Regards,
Femi.
Thread Starter
Mark
(@markvdam)
Hi Femi,
Thanks for getting back to me. WordPress, WooCommerce and all other plugins and themes are up-to-date. I’m running versie 7.9.1 (latest as far as I can see?) and there are no updates available according to the WordPress dashboard. When enabling WP_DEBUG the screen is filled with a few error messages, including:
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the mollie-payments-for-woocommerce 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 /var/www/vhosts/rebelwithatwist.nl/staging.avstyle.nl/wp-includes/functions.php on line 6114
Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/vhosts/rebelwithatwist.nl/staging.avstyle.nl/wp-includes/formatting.php on line 2819
Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/vhosts/rebelwithatwist.nl/staging.avstyle.nl/wp-includes/formatting.php on line 2819
Etc, etc…
Check for reference: https://ibb.co/21QbQsnB and https://ibb.co/bgCzfjRp
The same error was generated for two other plugins and I’ve notified the applicable developers. Any suggestion on how to fix this? Apparently the issue should have been fixed in version 7.9.1, but I’m still getting these error messages and according to WPML developers this is possibly the root cause for other conflicts on my website.
Thanks again!
Mark
-
This reply was modified 1 year, 4 months ago by
Mark. Reason: added another screenshot
Plugin Support
Femi
(@femiyb)
Hello
Thanks for the additional information.
Yes this issue was addressed in version 7.9.1.
I currently can not reproduce this issue on my side.
Could you please confirm what language your site is currently set to?
Regards,
Femi.
Thread Starter
Mark
(@markvdam)
Hi Femi,
Thank you. My website uses WPML (main plugin), String Translation, Media Translation and WPML WooCommerce Multilingual.
The main language is Dutch and the secondary language is English. They are split by different domains (avstyle.nl pointing to the Dutch version and avstyle.com to the English version).
Let me know if you need additional information or access to the staging website to investigate further. The staging version is located at staging.avstyle.nl and has debugging enabled on-screen.
Thanks again and kind regards,
Mark
Plugin Support
Femi
(@femiyb)
Hello @markvdam
Thanks for the additional details.
As mentioned, this issue was fixed in the plugin.
We will look into it again on our side to see if we will be able to reproduce it.
I will let you know as soon as we have an update.
Regards,
Femi.
Thread Starter
Mark
(@markvdam)
Hello Femi,
Thanks for looking into it. Do you need access to the staging website to investigate further? That saves you the hassle of trying to reproduce it. If so, please let me know how I can securely (privately) send it to you. Below is part of the debug.log file. Hope this helps.
Kind regards,
Mark
—–
[07-Feb-2025 11:30:21 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the mollie-payments-for-woocommerce 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 /var/www/vhosts/rebelwithatwist.nl/avstyle.nl/wp-includes/functions.php on line 6114
[07-Feb-2025 11:30:21 UTC] PHP Fatal error: Uncaught Error: Call to a member function filter_translation_status() on null in /var/www/vhosts/rebelwithatwist.nl/avstyle.nl/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/tm/class-wpml-tm-page-builders.php:318
Stack trace: 0 /var/www/vhosts/rebelwithatwist.nl/avstyle.nl/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/tm/class-wpml-tm-page-builders-hooks.php(91): WPML_TM_Page_Builders->link_to_translation_filter(‘https://avstyle…’, 7, ‘nl’, ‘7’) 1 /var/www/vhosts/rebelwithatwist.nl/avstyle.nl/wp-includes/class-wp-hook.php(324): WPML_TM_Page_Builders_Hooks->link_to_translation_filter(‘https://avstyle…’, 7, ‘nl’, ‘7’) 2 /var/www/vhosts/rebelwithatwist.nl/avstyle.nl/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘https://avstyle…’, Array) 3 /var/www/vhosts/rebelwithatwist.nl/avstyle.nl/wp-content/plugins/sitepress-multilingual-cms/classes/url-handling/wpml-url-filters.class.php(149): apply_filters(‘wpml_link_to_tr…’, ‘https://avstyle…’, 7, ‘nl’, ‘7’) 4 /var/www/vhosts/rebelwithatwist.nl/avstyle.nl/wp-includes/class-wp-hook.php(324): WPML_URL_Filters->get_edit_post_link(‘https://avstyle…’, 7, ‘display’) 5 /var/www/vhosts/rebelwithatwist.nl/avstyle.nl/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘https://avstyle…’, Array) 6 /var/www/vhosts/rebelwithatwist.nl/avstyle.nl/wp-includes/link-template.php(1499): apply_filters(‘get_edit_post_l…’, ‘https://avstyle…’, 7, ‘display’) 7 /var/www/vhosts/rebelwithatwist.nl/avstyle.nl/wp-content/plugins/mollie-payments-for-woocommerce/src/PaymentMethods/Applepay.php(25): get_edit_post_link(Object(WP_Post)) 8 /var/www/vhosts/rebelwithatwist.nl/avstyle.nl/wp-content/plugins/mollie-payments-for-woocommerce/src/PaymentMethods/AbstractPaymentMethod.php(153): Mollie\WooCommerce\PaymentMethods\Applepay->getFormFields(Array) 9 /var/www/vhosts/rebelwithatwist.nl/avstyle.nl/wp-content/plugins/mollie-payments-for-woocommerce/src/Gateway/MolliePaymentGateway.php(174): Mollie\WooCommerce\PaymentMethods\AbstractPaymentMethod->getAllFormFields() 10 /var/www/vhosts/rebelwithatwist.nl/avstyle.nl/wp-includes/class-wp-hook.php(324): Mollie\WooCommerce\Gateway\MolliePaymentGateway->init_form_fields(”) 11 /var/www/vhosts/rebelwithatwist.nl/avstyle.nl/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 12 /var/www/vhosts/rebelwithatwist.nl/avstyle.nl/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 13 /var/www/vhosts/rebelwithatwist.nl/avstyle.nl/wp-settings.php(704): do_action(‘init’) 14 /var/www/vhosts/rebelwithatwist.nl/avstyle.nl/wp-config.php(97): require_once(‘/var/www/vhosts…’) 15 /var/www/vhosts/rebelwithatwist.nl/avstyle.nl/wp-load.php(50): require_once(‘/var/www/vhosts…’) 16 /var/www/vhosts/rebelwithatwist.nl/avstyle.nl/wp-blog-header.php(13): require_once(‘/var/www/vhosts…’) 17 /var/www/vhosts/rebelwithatwist.nl/avstyle.nl/index.php(17): require(‘/var/www/vhosts…’) 18 {main}
thrown in /var/www/vhosts/rebelwithatwist.nl/avstyle.nl/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/tm/class-wpml-tm-page-builders.php on line 318
@markvdam Moderator note:
Please don’t offer to send or post logon credentials on these forums: https://ww.wp.xz.cn/support/guidelines#the-bad-stuff It is not OK to offer, enter, or send site credentials on these forums. Thanks for your cooperation.
Plugin Support
Femi
(@femiyb)
Hello @markvdam
We do not need access to your site to investigate this issue right now.
And as mentioned above, it is against the forum policy to share or mention sharing site credentials.
I will let you know as soon as we have an update.
For now, you can turn DEBUG_DISPLAY off, so you won’t see these noticiaations on the site.
Regards,
Femi.
Thread Starter
Mark
(@markvdam)
Hello @femiyb
Obviously I’m not showing debug logs on screen on the live site. I merely pointed out to you that if you would like to see the on-screen error logs, please visit the staging website at staging.avstyle.nl.
Besides the errors in the debug log, this issue is causing critical errors on a regular basis on the live site. Can you provide me with a rough estimate for a timeline on this? So that I can inform the website owner.
Thanks for your time and effort!
Regards,
Mark
Plugin Support
Femi
(@femiyb)
Thanks @markvdam
Besides the errors in the debug log, this issue is causing critical errors on a regular basis on the live site. Can you provide me with a rough estimate for a timeline on this? So that I can inform the website owner.
We are still trying to reproduce the issue on our side, as soon as we understand why this issue still occurs for some people even though it’s been fixed. We will propose a resolution and get back to you.
Regards,
Femi.