Fatal error: Uncaught Error: Call to undefined function wp_get_upload_dir() in /home/customer/www/swingcatsbigband.com/public_html/wp-content/plugins/wp-optimize/webp/class-wp-optimize-webp.php:179 Stack trace: #0 /home/customer/www/swingcatsbigband.com/public_html/wp-content/plugins/wp-optimize/webp/class-wp-optimize-webp.php(208): WP_Optimize_WebP->setup_htaccess_file() #1 /home/customer/www/swingcatsbigband.com/public_html/wp-content/plugins/wp-optimize/webp/class-wp-optimize-webp.php(115): WP_Optimize_WebP->empty_htaccess_file() #2 /home/customer/www/swingcatsbigband.com/public_html/wp-content/plugins/wp-optimize/webp/class-wp-optimize-webp.php(26): WP_Optimize_WebP->maybe_decide_webp_serve_method() #3 /home/customer/www/swingcatsbigband.com/public_html/wp-content/plugins/wp-optimize/webp/class-wp-optimize-webp.php(43): WP_Optimize_WebP->__construct() #4 /home/customer/www/swingcatsbigband.com/public_html/wp-content/plugins/wp-optimize/wp-optimize.php(262): WP_Optimize_WebP::get_instance() #5 /home/customer/www/swingc in /home/customer/www/swingcatsbigband.com/public_html/wp-content/plugins/wp-optimize/webp/class-wp-optimize-webp.php on line 179