Fatal error: Uncaught Error: Call to undefined function wp_get_upload_dir() in /home/securu6/public_html/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php:192 Stack trace: #0 /home/securu6/public_html/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php(238): WPSEO_Image_Utils::get_absolute_path('/home/securu6/p...') #1 /home/securu6/public_html/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php(131): WPSEO_Image_Utils::get_file_size(Array) #2 /home/securu6/public_html/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php(304): WPSEO_Image_Utils::has_usable_file_size(Array) #3 /home/securu6/public_html/wp/wp-content/plugins/wordpress-seo/frontend/class-opengraph-image.php(458): WPSEO_Image_Utils::filter_usable_file_size(Array) #4 /home/securu6/public_html/wp/wp-content/plugins/wordpress-seo/frontend/class-opengraph-image.php(320): WPSEO_OpenGraph_Image->add_image_by_id('3760') #5 /home/securu6/public_html/wp/wp-content/plugins/wordpress-seo/frontend/class-ope in /home/securu6/public_html/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php on line 192