• Resolved radicha92

    (@radicha92)


    Hello,

    Im trying go change default site language to another one, and it gives fatal error. Im sure that woocommerce causes this problem,
    because when i disable the plugin, error disapear.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey there 👋

    Thanks for reaching out!

    It looks like changing the default site language results in a fatal error on your end and when WooCommerce is disabled, the error disappears, correct?

    Can you please clarify which default language you are trying to set so that we can test this on our end? Also, can you please share the exact error message that triggers so that we can take a closer look.

    Lastly, can you please share the following:

    • System Status Report: you can find this via WooCommerce → Status. Select Get system report and then Download for Support. This will download a TXT file that has the contents of the SSR which you can then share with us here.
    • Fatal Error Log: Share a copy of any fatal error log found under WooCommerce → Status → Logs.

    Cheers!

    Thread Starter radicha92

    (@radicha92)

    Hello, thanks for immediate response!

    Yes, default site language is english (US). Even if i change to english (UK), this causes error. In my case im trying to change to bulgarian (BG).

    Error massage:

    There has been a critical error on this website.

    Learn more about troubleshooting WordPress.

    Fatal error:

    2023-12-28T14:47:54+00:00 CRITICAL Allowed memory size of 134217728 bytes exhausted (tried to allocate 2097152 bytes) in /home/maxadapt/shop.maxadaptive.com/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 22183

    https://filetransfer.io/data-package/9J52kPmx#link – system report

    Hey, @radicha92!

    Thank you for the information.

    I see your WooCommerce and WooPayments versions are outdated. Can you please update it along with any other plugins and the theme if needed?

    We recommend keeping everything updated. Regularly updating plugins helps maintain your site’s security, performance, and compatibility while ensuring you benefit from the latest features and improvements.

    The error you’re facing indicates a memory limit exhaustion, and it seems to be happening in the Divi theme’s builder element. Can you please increase the php memory limit and check if the issue persists.

    If it does, please let us know so we can assist you further.

    Have a wonderful day!

    Thread Starter radicha92

    (@radicha92)

    You guys are awesome!

    The solution:

    1. Access your WordPress files.
    2. Locate the file wp-config.php in the root directory or folder.
    3. Double-click the wp-config.php file to open it.
    4. Select Edit.
    5. Find the following line:/* That’s all, stop editing! Happy publishing. */
    6. Right above the line in step five, add this code:define(‘WP_MEMORY_LIMIT’, ‘256M’);

    Thank you so much!

    Hi @radicha92,

    Glad to hear it – thanks for letting us know!

    I’ll mark this thread as resolved now.

    If you have a few minutes, we’d love if you could leave us a review: https://wordpress.org/support/plugin/woocommerce/reviews/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error after changing site language’ is closed to new replies.