• Resolved orchi91

    (@orchi91)


    Hi,
    We are using multiple custom scripts to update products quantity etc by using cpanel cron jobs. but after installing the Redis server and activating the Redis Object Cache, All files get these errors.

    PHP Fatal error:  Uncaught Error: Class 'Redis' not found in /home/.../public_html/wp-content/object-cache.php:659
    Stack trace:
    #0 /home/.../public_html/wp-content/object-cache.php(502): WP_Object_Cache->connect_using_phpredis(Array)
    #1 /home/.../public_html/wp-content/object-cache.php(220): WP_Object_Cache->__construct(true)
    #2 /home/.../public_html/wp-includes/load.php(729): wp_cache_init()
    #3 /home/.../public_html/wp-settings.php(131): wp_start_object_cache()
    #4 /home/.../public_html/wp-config.php(114): require_once('/home/...')
    #5 /home/.../public_html/wp-load.php(50): require_once('/home/...')
    #6 /home/.../public_html/crons/_qty_update.php(3): require_once('/home/...')
    #7 {main}
      thrown in /home/.../public_html/wp-content/object-cache.php on line 659
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can we exclude Cron Files which has included wp-load file?’ is closed to new replies.