Fatal error after updating when optimizing images
-
Shortpixel encountered a fatal error when optimizing images. Please check the issue below. If this is caused by a bug please contact our support There has been a critical error on this website. Learn more about troubleshooting WordPress. Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, null given in /home/site/public_html/wp-content/plugins/shortpixel-image-optimiser/class/Controller/ApiController.php:420 Stack trace: #0 /home/site/public_html/wp-content/plugins/shortpixel-image-optimiser/class/Controller/ApiController.php(420): array_keys(NULL) #1 /home/site/public_html/wp-content/plugins/shortpixel-image-optimiser/class/Controller/ApiController.php(267): ShortPixel\Controller\ApiController->handleResponse(Object(stdClass), Array) #2 /home/site/public_html/wp-content/plugins/shortpixel-image-optimiser/class/Controller/ApiController.php(123): ShortPixel\Controller\ApiController->doRequest(Object(stdClass), Array) #3 /home/site/public_html/wp-content/plugins/shortpixel-image-optimiser/class/Controller/OptimizeController.php(486): ShortPixel\Controller\ApiController->processMediaItem(Object(stdClass), Object(ShortPixel\Model\Image\MediaLibraryModel)) #4 /home/site/public_html/wp-content/plugins/shortpixel-image-optimiser/class/Controller/OptimizeController.php(416): ShortPixel\Controller\OptimizeController->sendToProcessing(Object(stdClass), Object(ShortPixel\Controller\Queue\MediaLibraryQueue)) #5 /home/site/public_html/wp-content/plugins/shortpixel-image-optimiser/class/Controller/OptimizeController.php(383): ShortPixel\Controller\OptimizeController->runTick(Object(ShortPixel\Controller\Queue\MediaLibraryQueue)) #6 /home/site/public_html/wp-content/plugins/shortpixel-image-optimiser/class/Controller/AjaxController.php(155): ShortPixel\Controller\OptimizeController->processQueue(Array) #7 /home/site/public_html/wp-includes/class-wp-hook.php(308): ShortPixel\Controller\AjaxController->ajax_processQueue('') #8 /home/site/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #9 /home/site/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /home/site/public_html/wp-admin/admin-ajax.php(188): do_action('wp_ajax_shortpi...') #11 {main} thrown in /home/site/public_html/wp-content/plugins/shortpixel-image-optimiser/class/Controller/ApiController.php on line 420 Last Item ID: 60044
This shows up when I visit the Posts. Only happened after running the update today. Suggestions?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Fatal error after updating when optimizing images’ is closed to new replies.