• Resolved Rhand

    (@rhand)


    had an error using Redis Caching yesterday

    [17-Oct-2023 18:47:31 UTC] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 195224904 bytes) in
     /var/www/vhosts/site.nl/httpdocs/wp-content/object-cache.php on line 1289
    
    [17-Oct-2023 18:47:31 UTC] PHP Fatal error: Uncaught Error: Trying to clone an uncloneable object of class Redis in 
    /var/www/vhosts/site.nl/httpdocs/wp-content/object-cache.php:2617
    Stack trace

    So issues with more than 128MB ram (195MB to be precise) I guess and an uncloneable object.

    Full error

    [17-Oct-2023 18:44:57 UTC] PHP Fatal error:  Uncaught Error: Trying to clone an uncloneable object of class Redis in /var/www/vhosts/site.nl/httpdocs/wp-content/object-cache.php:2617
    Stack trace:
    #0 /var/www/vhosts/site.nl/httpdocs/wp-content/object-cache.php(1945): WP_Object_Cache->add_to_internal_cache()
    #1 /var/www/vhosts/site.nl/httpdocs/wp-content/object-cache.php(193): WP_Object_Cache->get()
    #2 /var/www/vhosts/site.nl/httpdocs/wp-content/plugins/wp-rocket/inc/classes/traits/trait-config-updater.php(55): wp_cache_get()
    #3 /var/www/vhosts/site.nl/httpdocs/wp-includes/class-wp-hook.php(310): WP_Rocket\ThirdParty\Plugins\Ecommerce\WooCommerceSubscriber->maybe_update_config()
    #4 /var/www/vhosts/site.nl/httpdocs/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    #5 /var/www/vhosts/site.nl/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #6 /var/www/vhosts/site.nl/httpdocs/wp-includes/load.php(1252): do_action()
    #7 [internal function]: shutdown_action_hook()
    #8 {main}
      thrown in /var/www/vhosts/site.nl/httpdocs/wp-content/object-cache.php on line 2617
    • This topic was modified 11 months, 2 weeks ago by Rhand.
    • This topic was modified 11 months, 2 weeks ago by Rhand.
    • This topic was modified 11 months, 2 weeks ago by Rhand.
    • This topic was modified 11 months, 2 weeks ago by Rhand.
    • This topic was modified 11 months, 2 weeks ago by Rhand.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    Are you able to trigger this error? If so, can you see what the value of $value is?

    Thread Starter Rhand

    (@rhand)

    I am trying to figure out the trigger. Seems the error is no longer happening and emptying WP Rocket Cache should not be that trigger as I ran that multiple times yesterday testing Fancy Product Designer. Als these errors happened the 17th. Did change the prefix voor keys and that I perhaps did end of last week….. but not sure if that would matter.

    Plugin Author Till Krüss

    (@tillkruess)

    If it shows up again, let me know!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Trying to clone an uncloneable object of class Redis’ is closed to new replies.