This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 8:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 8:00 – 12:00 | 8:00 – 12:00 | - |
- | 14:00 – 17:00 | 14:00 – 18:00 | 14:00 – 18:00 | 13:00 – 17:00 | 13:00 – 17:00 | - |
Supporter timezone: Europe/Zagreb (GMT+01:00)
Tagged: Exception
This topic contains 31 replies, has 2 voices.
Last updated by Bruno Kos 1 month ago.
Assisted by: Bruno Kos.
Author | Posts |
---|---|
October 4, 2024 at 6:59 pm #16255713 | |
kevinB-74 |
Background of the issue: Symptoms: Questions: |
October 4, 2024 at 7:00 pm #16255718 | |
kevinB-74 |
Problem occured again |
October 4, 2024 at 7:06 pm #16255728 | |
kevinB-74 |
It happened another time at the exact same time as I received a new order. Seems to be also a conflict with elementor pro |
October 7, 2024 at 12:06 pm #16261160 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+01:00) |
Hi, Thank you for contacting WPML support! Can you please provide me with the debug information, so that I can get a better idea of your setup? https://wpml.org/faq/provide-debug-information-faster-support/ Enter this data into the Add debug info box below. Regards, |
October 7, 2024 at 12:09 pm #16261165 | |
kevinB-74 |
here are the debug information |
October 7, 2024 at 12:48 pm #16261469 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+01:00) |
Please increase the WP Memory Limit to at least 128MB by adding this line to your wp-config.php file before the line "/* That's all, stop editing! Happy publishing. */": define('WP_MEMORY_LIMIT', '128M'); You can follow this guide: https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php. Also, could you reproduce the issue by creating a test order? If so, please check if it still occurs with only WPML and WooCommerce plugins activated and a default theme like Twenty Twenty. This will help identify any plugin or theme conflicts. |
October 7, 2024 at 1:13 pm #16261517 | |
kevinB-74 |
I upgraded to 128M No I didn't managed to reproduce, I tried to create orders. |
October 7, 2024 at 1:26 pm #16261576 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+01:00) |
I see, any particular product where this is happening? Or products belonging to a certain category? Without knowing this (steps to reproduce) we may have difficulties with proposing a solution. |
October 7, 2024 at 1:40 pm #16261781 | |
kevinB-74 |
No right now as it happened only 2 times I can't find any specific informations.. |
October 8, 2024 at 1:45 am #16263710 | |
kevinB-74 |
Hi, The website crashed again during the night. We did not received any order at the crash time. So increasing Wp_memory_limit was not enough. Still same error : thrown in /home/ipkkcji/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php on line 215 Can you investigate on this line of code? |
October 8, 2024 at 5:51 am #16263893 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+01:00) |
I see, given that it mentiones line code 215 which has: self::macro( 'value', curryN( 1, function ( $value ) { return is_callable( $value ) ? $value() : $value; } ) ); Can you try this? Edit wp-config.php and insert the following lines (just before /* That's all, stop editing! Happy publishing. */ part) define( 'WP_DEBUG', true); define( 'WP_DEBUG_LOG', true); define( 'WP_DEBUG_DISPLAY', false); After this, in the file `/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php`, find the line 125 and modify it as follows: self::macro('value', curryN(1, function($value) { // Log the $value before executing it error_log('Logging $value in Fns.php: ' . print_r($value, true)); return is_callable($value) ? $value() : $value; })); Now wait until this happens again and once it does, check `/wp-content/debug.log` for details on what `$value` contain and send me the full error stack here. |
October 8, 2024 at 6:48 am #16263964 | |
kevinB-74 |
Hi, my website is right now crashed. The log : [08-Oct-2024 06:48:08 UTC] Logging $value in Fns.php: 1 |
October 8, 2024 at 6:53 am #16263973 | |
kevinB-74 |
If you are available right now we can make a video meeting to debug |
October 8, 2024 at 7:01 am #16263984 | |
kevinB-74 |
Here is the full stack : |
October 8, 2024 at 7:11 am #16264019 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+01:00) |
We don't offer video support and this will require debugging. Would you be willing to provide me with WordPress and FTP credentials so I could investigate the issue directly? I marked your next reply as private so that you can safely add credentials. Also install these plugins: We will not make any changes. |
The topic ‘[Closed] fatal error’ is closed to new replies.