Fatal error: Uncaught Error: Call to undefined function ShortPixel\Model\wp_is_json_request() in /srv/users/serverpilot/apps/connectionstowine/public/wp-content/plugins/shortpixel-image-optimiser/class/Model/EnvironmentModel.php:231
Stack trace:
#0 /srv/users/serverpilot/apps/connectionstowine/public/wp-content/plugins/shortpixel-image-optimiser/class/Model/EnvironmentModel.php(59): ShortPixel\Model\EnvironmentModel->setWordPress()
#1 /srv/users/serverpilot/apps/connectionstowine/public/wp-content/plugins/shortpixel-image-optimiser/class/Model/EnvironmentModel.php(67): ShortPixel\Model\EnvironmentModel->__construct()
#2 /srv/users/serverpilot/apps/connectionstowine/public/wp-content/plugins/shortpixel-image-optimiser/shortpixel-plugin.php(113): ShortPixel\Model\EnvironmentModel::getInstance()
#3 /srv/users/serverpilot/apps/connectionstowine/public/wp-content/plugins/shortpixel-image-optimiser/class/external/formidable.php(15): ShortPixel\ShortPixelPlugin->env()
#4 /srv/users/serverpilot/apps/connectionstowine/public/wp-co in /srv/users/serverpilot/apps/connectionstowine/public/wp-content/plugins/shortpixel-image-optimiser/class/Model/EnvironmentModel.php on line 231