Permalink caching?
-
My first request for help on forum so bear with me (level: amateur)!
Building site https://so.hn
Theme is iFeatureProblem seems to be permalink caching; here is what happened:
1. Created page https://so.hn/about/johngirdwood/
2. Deleted it; removed from trash, etc.
3. Recreated page https://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 . ‘ ‘ . $delimiter . ‘ ‘;
echo $before . get_the_title() . $after;Here are some potentially helpful details:
1. If I “unparent” the page https://so.hn/about/johngirdwood/ and turn it into https://so.hn/johngirdwood/ then the page works with no problem.
2. If I perform the “unparenting” then I can place the now working page https://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 https://so.hn/about/john-girdwood/ which will work fine as a “child” page under “About”WHAT I WANT – to get my https://so.hn/about/johngirdwood/ working!
Thanks for your brilliant help everybody!
– John G –
- The topic ‘Permalink caching?’ is closed to new replies.