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