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:191 Stack trace: #0 /home/securu6/public_html/wp/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php(237): 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(303): WPSEO_Image_Utils::has_usable_file_size(Array) #3 /home/securu6/public_html/wp/wp-content/plugins/wordpress-seo/frontend/class-opengraph-image.php(453): WPSEO_Image_Utils::filter_usable_file_size(Array) #4 /home/securu6/public_html/wp/wp-content/plugins/wordpress-seo/frontend/class-opengraph-image.php(315): WPSEO_OpenGraph_Image->add_image_by_id('3786') #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 191