Title: Permalink caching?
Last modified: August 20, 2016

---

# Permalink caching?

 *  [jgirdwood](https://wordpress.org/support/users/jgirdwood/)
 * (@jgirdwood)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/permalink-caching/)
 * My first request for help on forum so bear with me (level: amateur)!
    Building
   site [http://so.hn](http://so.hn) Theme is [iFeature](http://wordpress.org/extend/themes/ifeature)
 * Problem seems to be permalink caching; here is what happened:
 * 1. Created page [http://so.hn/about/johngirdwood/](http://so.hn/about/johngirdwood/)
   
   2. Deleted it; removed from trash, etc. 3. Recreated page [http://so.hn/about/johngirdwood/](http://so.hn/about/johngirdwood/)
   4. Now, receive error…
 * Catchable fatal error: Object of class WP_Error could not be converted to string
   in /home/omiafoun/public_html/so.hn/wp-content/themes/ifeature/core/core-functions.
   php on line 202
 * Line 202 seems to be…
 *  echo get_category_parents($cat, TRUE, ‘ ‘ . $delimiter . ‘ ‘);
 * within section of core-functions.php…
 *  } elseif ( is_attachment() ) {
    $parent = get_post($post->post_parent); $cat
   = get_the_category($parent->ID); $cat = $cat[0]; echo get_category_parents($cat,
   TRUE, ‘ ‘ . $delimiter . ‘ ‘); echo ‘[‘ . $parent->post_title . ‘](https://wordpress.org/support/topic/permalink-caching/&apos; . get_permalink($parent) . &apos;?output_format=md)‘.
   $delimiter . ‘ ‘; echo $before . get_the_title() . $after;
 * Here are some potentially helpful details:
 * 1. If I “unparent” the page [http://so.hn/about/johngirdwood/](http://so.hn/about/johngirdwood/)
   and turn it into [http://so.hn/johngirdwood/](http://so.hn/johngirdwood/) then
   the page works with no problem.
    2. If I perform the “unparenting” then I can
   place the now working page [http://so.hn/johngirdwood/](http://so.hn/johngirdwood/)
   under menu “About” and view it fine. So, it doesn’t appear to be a menu problem.
   3. I’ve permanently removed pages, menus, plug-ins, emptied trash, and done all
   of those necessary basic steps to no avail. 4. I’ve created new pages like [http://so.hn/about/john-girdwood/](http://so.hn/about/john-girdwood/)
   which will work fine as a “child” page under “About”
 * WHAT I WANT – to get my [http://so.hn/about/johngirdwood/](http://so.hn/about/johngirdwood/)
   working!
 * Thanks for your brilliant help everybody!
 * – John G –

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

 *  [CyberChimps](https://wordpress.org/support/users/cyberchimps/)
 * (@cyberchimps)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/permalink-caching/#post-2602902)
 * Thank you for the post. This appears to be an issue related to our breadcrumbs
   function.
 * Do you think it would be possible for me to get access to your site so I can 
   try and troubleshoot this at the source? Contact us via our contact form [http://cyberchimps.com/support/questions/](http://cyberchimps.com/support/questions/)
 *  Thread Starter [jgirdwood](https://wordpress.org/support/users/jgirdwood/)
 * (@jgirdwood)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/permalink-caching/#post-2602912)
 * Wow, happy day! I figured out the problem and maybe this will help you cyberchimps.
   By the way – great theme!
 * I had an image in my WordPress Image Library titled “johngirdwood” exactly (regular.
   jpg link below).
 * To troubleshoot, I removed the breadcrumbs function of core-functions.php and
   my page worked… but, it showed the image and my WordPress toolbar offered me 
   the option to “edit image” but not “edit page”. Hmmmm… so, I retitled that image
   to be “John Girdwood” [added a space] and now it works! I did not change the 
   image URL nor did I alter the image in any way other than changing the *required*
   Title.
 * So, my “johngirdwood” page was somehow being confused with my “johngirdwood” 
   Titled image. Kept page and page title. Kept image but changed image title.
 * Now, everything works! Yay! Again, iFeature is a great theme and thanks for the
   prompt reply. – John G –
 * [http://so.hn/wp-content/uploads/2012/02/johngirdwood.jpg](http://so.hn/wp-content/uploads/2012/02/johngirdwood.jpg)
 * Now, if I could figure out how to close this comment thread…
    #newbieproblems

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

The topic ‘Permalink caching?’ is closed to new replies.

## Tags

 * [amateur](https://wordpress.org/support/topic-tag/amateur/)
 * [beginner](https://wordpress.org/support/topic-tag/beginner/)
 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [caching](https://wordpress.org/support/topic-tag/caching/)
 * [parent](https://wordpress.org/support/topic-tag/parent/)
 * [permalink](https://wordpress.org/support/topic-tag/permalink/)
 * [wp_error](https://wordpress.org/support/topic-tag/wp_error/)

 * 2 replies
 * 2 participants
 * Last reply from: [jgirdwood](https://wordpress.org/support/users/jgirdwood/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/permalink-caching/#post-2602912)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
