Title: Gallery display error
Last modified: October 11, 2018

---

# Gallery display error

 *  Resolved [therealyoda](https://wordpress.org/support/users/therealyoda/)
 * (@therealyoda)
 * [8 years ago](https://wordpress.org/support/topic/gallery-display-error/)
 * Hi all,
 * I’m preparing a new website using Fotography Theme with WordPress 4.9.8.
    Setting
   up the test site was OK, every looked fine. But by using the galleries, I have
   an error and couldn’t find a solution for it.
 * 2 active extensions:
    – AccessPress Instagram Feed – Gutenberg
 * The gallery display on the frontpage is OK. If I follow the link from 1 gallery
   on the frontpage, it’s OK, the gallery photos are displayed.
    But, If I click
   on one of the photo displayed here, I always get the same error :
 * **Recoverable fatal error: Object of class WP_Error could not be converted to
   string in _MYTESTWEBSITE_/wp-content/themes/fotography/inc/extras.php on line
   153**
 * I searched on the forum, in the documentation, but couldn’t find what to do to
   fix that error.
 * Any advice ?
 * Thanks in advance

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

 *  [Access-keys Support](https://wordpress.org/support/users/amritshrestha/)
 * (@amritshrestha)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/gallery-display-error/#post-10809773)
 * Hi there
 * Thank you for writing in,
 * Please check by deactivating your all the plugins if this does not help you to
   fix your issues then please provide us with your site URL so that we can check
   your issue and provide you with the proper solution for this.
 * Thank You!!
 *  Thread Starter [therealyoda](https://wordpress.org/support/users/therealyoda/)
 * (@therealyoda)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/gallery-display-error/#post-10821162)
 * Hi Benjamin,
 * Both desactivated, same results. But I tested other things and I found the origin
   of the issue. When I linked the photo to the “Origin Page” I have the error. 
   By changing the link to “Media File” it works.
    So that’s what I did to solve
   that.
 * I have another question/issue with mobile display, but I will create another 
   topic because it’s not related to this one.
 * Thanks !
 *  [Access-keys Support](https://wordpress.org/support/users/amritshrestha/)
 * (@amritshrestha)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/gallery-display-error/#post-10837445)
 * Hi there,
 * thank you for writing in,
 * We did not that you have created another topic if this issue has been resolved
   then please close the topic and create the new one and also provide us with your
   site URL we will look into your issue.
 * Thank you!!

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

 The topic ‘Gallery display error’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/fotography/2.4.1/screenshot.png)
 * FotoGraphy
 * [Support Threads](https://wordpress.org/support/theme/fotography/)
 * [Active Topics](https://wordpress.org/support/theme/fotography/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/fotography/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/fotography/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Access-keys Support](https://wordpress.org/support/users/amritshrestha/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/gallery-display-error/#post-10837445)
 * Status: resolved