Fatal error: Uncaught Error: Call to undefined function WP_STATISTICS\rest_get_url_prefix() in /home/oilbuddy/public_html/wp-content/plugins/wp-statistics/includes/class-wp-statistics-helper.php:79 Stack trace: #0 /home/oilbuddy/public_html/wp-content/plugins/wp-statistics/includes/class-wp-statistics-hits.php(221): WP_STATISTICS\Helper::is_rest_request() #1 /home/oilbuddy/public_html/wp-content/plugins/wp-statistics/includes/class-wp-statistics-hits.php(30): WP_STATISTICS\Hits::is_rest_hit() #2 /home/oilbuddy/public_html/wp-content/plugins/wp-statistics/includes/class-wp-statistics-hits.php(319): WP_STATISTICS\Hits->__construct() #3 /home/oilbuddy/public_html/wp-content/plugins/wp-statistics/includes/class-wp-statistics.php(158): require_once('/home/oilbuddy/...') #4 /home/oilbuddy/public_html/wp-content/plugins/wp-statistics/includes/class-wp-statistics.php(112): WP_Statistics->includes() #5 /home/oilbuddy/public_html/wp-includes/plugin.php(503): WP_Statistics->plugin_setup('') #6 /home/oilbuddy/public_html/wp-settings. in /home/oilbuddy/public_html/wp-content/plugins/wp-statistics/includes/class-wp-statistics-helper.php on line 79