Title: Image path problem with version 2.10
Last modified: March 7, 2025

---

# Image path problem with version 2.10

 *  Resolved [gorico](https://wordpress.org/support/users/gorico/)
 * (@gorico)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/image-path-problem-with-version-2-10/)
 * I just wanted to notify this issue that emerged from UM versione 2.10 concerning
   the loading of default image (images?) in the User Home page. The error is like
   this
 * Warning: getimagesize(/web/htdocs/www.adeimf.it/home/wp/wp/wp-content/uploads/
   ultimatemember/1/profile_photo-190×190.png): failed to open stream: No such file
   or directory in /web/htdocs/www.adeimf.it/home/wp/wp-content/plugins/ultimate-
   member/includes/core/um-actions-profile.php on line 745
 * Since the file actually exists, and nothing ever changed, I just assumed that
   something new concerning the system path management in *this* specific situation
   was implemented, but I really don’t know what it is.
 * That said, I just added this silly fix inside the code of um-actions-profile.
   php (that of course I have to apply whenever a new version is installed):
 *     ```wp-block-code
               if (file_exists($image_path)) {
                   $imagesizes = getimagesize( $image_path );
                   if ( is_array( $imagesizes ) ) {
                       list( $image_width, $image_height ) = $imagesizes;
                   }
               }
       ```
   
 * Hope this could help some other user having the same issue.
 * Regards
   Marco

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Yurii](https://wordpress.org/support/users/yuriinalivaiko/)
 * (@yuriinalivaiko)
 * [11 months, 2 weeks ago](https://wordpress.org/support/topic/image-path-problem-with-version-2-10/#post-18541228)
 * Hello [@gorico](https://wordpress.org/support/users/gorico/) 
   Sorry for the delayed
   reply. Try to update to the latest version of the UM plugin. Perhaps this is 
   already fixed.
 * Regards
 *  Plugin Support [Yurii](https://wordpress.org/support/users/yuriinalivaiko/)
 * (@yuriinalivaiko)
 * [11 months, 2 weeks ago](https://wordpress.org/support/topic/image-path-problem-with-version-2-10/#post-18547693)
 * Hi [@gorico](https://wordpress.org/support/users/gorico/)
 * This thread has been inactive for a while so we’re going to go ahead and mark
   it Resolved.
 * Please feel free to re-open this thread if any other questions come up and we’d
   be happy to help. 🙂
 * Regards

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Image path problem with version 2.10’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Yurii](https://wordpress.org/support/users/yuriinalivaiko/)
 * Last activity: [11 months, 2 weeks ago](https://wordpress.org/support/topic/image-path-problem-with-version-2-10/#post-18547693)
 * Status: resolved