Support » Plugin: Gator Cache » Causing fatal errors on a site running WooCommerce

  • Resolved Luke Cavanagh


    2018-08-12T22:34:39+00:00 CRITICAL Uncaught Error: Call to a member function removeGroups() on boolean in /home/s2/html/wp-content/plugins/gator-cache/gator-cache.php:368
    Stack trace:
    #0 /home/s2/html/wp-content/plugins/gator-cache/gator-cache.php(352): WpGatorCache::saveComment('approved', 'any', Object(WP_Comment))
    #1 /home/s2/html/wp-includes/class-wp-hook.php(286): WpGatorCache::postComment(1171, Object(WP_Comment))
    #2 /home/s2/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
    #3 /home/s2/html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #4 /home/s2/html/wp-includes/comment.php(1811): do_action('wp_insert_comme...', 1171, Object(WP_Comment))
    #5 /home/s2/html/wp-content/plugins/woocommerce/includes/class-wc-order.php(1652): wp_insert_comment(Array)
    #6 /home/s2/html/wp-content/plugins/woocommerce/includes/class-wc-order.php(360): WC_Order->add_order_note('Order status ch...', 0, true)
    #7 /home/s2/html/wp-content/plugins/woocommerce/includes/class-wc-order.php(230): WC_Order->status_transition()
    #8 /home/s2/

    Looks like Gator Cache is trying to use /tmp for the path.

Viewing 1 replies (of 1 total)
  • Plugin Author GatorDog


    You can re-install to change cache directory, the folder has to be writable by the web server process. Or you can directly edit gc-config.ini.php in the document root directory (the same folder as your wp-config.php file). There has been more error checking added in case your cache directory does not exist or is not writable, however, it will not cache in that case, since there is nowhere to write cache files.

Viewing 1 replies (of 1 total)
  • The topic ‘Causing fatal errors on a site running WooCommerce’ is closed to new replies.