• Felix Ker

    (@felixker)


    I have this site with > 10k pages, and to my knowledge, only 1 page has failed to load.

    I attempted to recreate https://www.orchids.life/id/calanthe-windsor-2/ and https://www.orchids.life/id/calanthe-windsor-3/ just with zero content, but does not work too.

    Came to conclusion it’s the problem with the title – Calanthe Windsor.

    Access log:

    .538851 [NOTICE] [757565] [T0] [127.0.0.1:56950#APVH_orchids.life:443] [STDERR] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 16384 bytes) in /home/ol/orchids.life/wp-content/themes/twentytwentyfour-child-main/functions.php on line 31\n

    .544975 [NOTICE] [757565] [T0] [127.0.0.1:56950#APVH_orchids.life:443] [STDERR] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 45056 bytes) in /home/ol/orchids.life/wp-includes/functions.php on line 4329\

    I have checked my theme’s functions.php – disabled all functions, still, does not work.

    Line 4329 of wp-includes/functions.php:

    function wp_json_encode( $value, $flags = 0, $depth = 512 ) {
    $json = json_encode( $value, $flags, $depth );

    Using latest WordPress and WooCommerce.

    • This topic was modified 9 months ago by Felix Ker.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Felix Ker

    (@felixker)

    P.S. I have tested to create the same title on another site, there’s no problem. So I cannot determine the issue.

    threadi

    (@threadi)

    The message refers to a component of WordPress that is used by plugins to convert data into JSON format. My advice would be to deactivate all plugins as a test and then activate them individually. One of them is probably using incorrect data, which is causing this endless loop.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unusual memory issue’ is closed to new replies.