• Resolved wpjetusr2244

    (@wpjetusr2244)


    I am testing the Astra theme version 4.0.2 on localhost under Windows 10 and Apache 2.4.55 and PHP 8.0.27.

    When I want to go to the theme customizer, I get 500 server error message. When I disable the two plugins, the error disappears and the customizer is working. The plugins that I disable are:

    • Astra Widgets
    • All in One SEO

    I have to disable both of them in order customizer to function. I am using the latest versions of these plugins.

Viewing 1 replies (of 1 total)
  • Thread Starter wpjetusr2244

    (@wpjetusr2244)

    Hi,

    I looked at the debug.log file from WordPress and found the source of the 500 Server Error problem, when I click on theme customizer and Astra Widgets are activated. The memory was not enough. The log file says:

    [09-Mar-2023 18:34:31 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 6819840 bytes) in D:\site\home\wp-includes\class-wp-scripts.php on line 237
    [09-Mar-2023 18:34:31 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 3211736 bytes) in D:\site\home\wp-includes\functions.php on line 5279
    [09-Mar-2023 18:34:31 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0

    The requested URL was:

    ::1 - - [09/Mar/2023:20:34:30 +0200] "GET /wp-admin/customize.php?return=%2Fwp-admin%2Fplugins.php%3Fplugin_status%3Dall%26paged%3D1%26s HTTP/1.1" 500 -

    Previously, the two WordPress memory limit directives were set at 128 MB.

    When I set WP_MEMORY_LIMIT directive to 256M in wp-config.php the error disappeared and theme customizer is working again. Maybe there are memory leak bug or 128 MB are not enough anymore. WordPress version is 6.1.1

Viewing 1 replies (of 1 total)
  • The topic ‘Theme customizer is making 500 server error’ is closed to new replies.