## Bug Description It generate undefine variable error when `webp_uploads_prefer_smaller_image_file` is set to true. https://github.com/WordPress/performance/issues/7#issuecomment-1092970047 <!-- Please describe clearly and concisely what the bug is. --> ## Steps to reproduce <!-- Please provide detailed steps on how to reproduce the bug. --> 1. Add `add_filter( 'webp_uploads_prefer_smaller_image_file', '__return_true' );` in theme or plugin 2. Upload image from [this comment](https://github.com/WordPress/performance/issues/7#issuecomment-1092970047) 3. See error ## Error Message Notice: Undefined variable: size_data in /var/www/html/wp-content/plugins/performance/modules/images/webp-uploads/load.php on line 484 ## Additional Context <!-- Please complete the following information. --> - PHP Version: 7.4.30 - OS: Windows 10 - Browser: Chrome - Plugin Version: 1.2.0 - Device: Desktop