Warning Count: Parameter must be an array
-
Hello,
I’ve been using Short Pixel image optimization for awhile now. Recently, I’ve been having problems with an image. This is a small image, roughly 1kb after compressed, that is used for bullet points. I use css to apply it to ul on the product page and it’s always worked fine. Previously, it was using an old url to be accessed myfavoritestore.com/uploads/etc. I updated the url to mystore.com and this was the last image that still used the old url. I took the same image, reuploaded it, and now not only am I getting this warning, but my site load time has increased from 3 seconds to 6 seconds. This may/may not have anything to do with you plugin, but any advice is appreciated. I did not have this problem before re-uploading the image today. I would be happy to send over the site so you can look at it in the Gtmetrix waterfall in private message if you want to see the loading behavior.
Warning: count(): Parameter must be an array or an object that implements Countable in /home/mysite/public_html/wp-content/plugins/shortpixel-image-optimiser/class/wp-short-pixel.php on line 3415
None of my other images have this issue, only the one I uploaded today. Any help is appreciated.
The page I need help with: [log in to see the link]
The topic ‘Warning Count: Parameter must be an array’ is closed to new replies.