on_cookie->set($name, $values, $group); } catch (\RuntimeException $e) { throw new VariationCookieException($e->getMessage()); } } public function unsetVariationCookie($name) { if (!is_string($name) || trim($name) == "") { throw new VariationCookieException("The provided cookie name is not a string or is empty."); } try { return $this->variation_cookie->delete($name); } catch (\RuntimeException $e) { throw new VariationCookieException($e->getMessage()); } } public function getVariationCookies() { try { return $this->variation_cookie->get(); } catch (\RuntimeException $e) { throw new VariationCookieException($e->getMessage()); } } public function createWebsite(Website $website) { return $this->integration->create($website); } public function updateWebsite(Website $website) { return $this->integration->update($website); } public function removeWebsite($apikey) { return $this->integration->remove($apikey); } // Get a single website via API key public function getWebsiteByAPIKey($apikey) { return $this->integration->readByAPIKey($apikey); } // Get all websites, along with a corresponding pagination public function getWebsitesPaginated($page, $limit = 250) { return $this->integration->readPaginated($page, $limit); } public function isSafeModeEnabled() { $status = $this->safe_mode->status(); return !empty($status->isEnabled); } public function enableCartCache() { $this->cache->enableCartCache(); } public function disableCartCache() { $this->cache->disableCartCache(); } public function enableVarnishIntegration() { $this->varnish->enable(); } public function disableVarnishIntegration() { $this->varnish->disable(); } public function configureVarnishIntegration($settings) { $this->varnish->configure($settings); } public function getVarnishIntegrationConfig() { return $this->varnish->get(); } public function setVarnishIntegrationConfig($settings) { $this->varnish->set($settings); } public function enableExcludedUrls() { $this->excludedurls->enable(); } public function disableExcludedUrls() { $this->excludedurls->disable(); } public function addExcludedUrl($urlPattern) { $this->excludedurls->add($urlPattern); } public function removeExcludedUrl($urlPattern) { $this->excludedurls->remove($urlPattern); } public function enableAdditionalDomains() { $this->additionaldomains->enable(); } public function disableAdditionalDomains() { $this->additionaldomains->disable(); } public function addAdditionalDomain($domain) { $this->additionaldomains->add($domain); } public function removeAdditionalDomain($domain) { $this->additionaldomains->remove($domain); } public function enableExcludes() { return $this->excludes->enable(); } public function disableExcludes() { return $this->excludes->disable(); } public function getExcludes() { return $this->excludes->get(); } public function setExcludes($excludes) { return $this->excludes->set($excludes); } }
Fatal error: Uncaught Error: Class 'NitroPack\SDK\Api' not found in /home/difwjdoi/public_html/questmindshare.com/wp-content/plugins/nitropack/nitropack-sdk/NitroPack/SDK/NitroPack.php:214 Stack trace: #0 /home/difwjdoi/public_html/questmindshare.com/wp-content/plugins/nitropack/classes/WordPress/NitroPack.php(338): NitroPack\SDK\NitroPack->__construct('WYcjAozlweQgrjF...', 'eRd7Gkq2fXuTIG3...', NULL, 'https://questmi...', '/home/difwjdoi/...') #1 /home/difwjdoi/public_html/questmindshare.com/wp-content/plugins/nitropack/classes/Integration/Server/LiteSpeed.php(87): NitroPack\WordPress\NitroPack->getSdk() #2 /home/difwjdoi/public_html/questmindshare.com/wp-includes/class-wp-hook.php(324): NitroPack\Integration\Server\LiteSpeed->setupVary('') #3 /home/difwjdoi/public_html/questmindshare.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #4 /home/difwjdoi/public_html/questmindshare.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /home/difwjdoi/public_html/questmindshare.com/wp-content/pl in /home/difwjdoi/public_html/questmindshare.com/wp-content/plugins/nitropack/nitropack-sdk/NitroPack/SDK/NitroPack.php on line 214