LazySizes is not defined

I get a console error
Uncaught ReferenceError: lazySizes is not defined

I can also see some PHP Error logs
[31-May-2020 21:07:56 UTC] PHP Warning: getimagesize(/var/web/site/public_html/wp-content/uploads/2019/09/lucas-sankey-378674-unsplash.jpg): failed to open stream: No such file or directory in /var/web/site/public_html/wp-content/plugins/wp-smush-pro/core/modules/class-cdn.php on line 1433