Supreme Directory Theme Bug

This topic contains 4 replies, has 2 voices, and was last updated by  Stiofan O’Connor 8 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #232090

    goodmuyis
    Expired Member
    Post count: 18

    I would have posted this on theme section but i dont have required capabilities. sorry if i break any rules

    
    
    .sd .entry-content {
        margin: 0px auto;
       <strong> margin-bottom: -30px;</strong>
        padding-bottom: 30px;
        padding-top: 35px;
    }

    1=> The bold above is overlapping the Previous and Next navigation on listing detail page is I set mine to

    <strong>padding: 0px</strong>

    2=> The Previous and Next navigation is doing some kind of random looping between few listing, i dont know if this is how it suppose to work but my test on localhost is random btw three listing, I just update the GD-Core today

    3=> On Listing Details Page,

    Catchable fatal error: Object of class WP_Error could not be converted to string in ..supreme-directoryincgeodirectory-compatibility.php on line 884

    I think the error affect listing without category icon, i try commenting it out, the error disappear showing categories w/o icons.
    In older version of GD it is possible to have category w/o icon, that how i did my mine sometimes ago

    ———-
    Now my own side:
    How do I Add the geodir-post-gallery on the sidebar on listing page, it seems i cant get, but its showing on supreme-directory demo.

    Thank

    #232096

    goodmuyis
    Expired Member
    Post count: 18

    Correction to => 3

    I think the error affect listing empty category link, when i try to edit the lisitng, i notice that some of the categories are empty (listing has multiple category)

    #232432

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hello,

    #1 Fixed and will be in next version, you can get dev version from here: https://github.com/GeoDirectory/supreme-directory

    #2 This is a bug in CPT and Location manager addons, this is fixed and will be in the next releases.

    #3 Cat icons are required, but this might be related to a bug we fixed, check if the dev version fixes or not.

    “How do I Add the geodir-post-gallery on the sidebar on listing page” Go to GD>Design>Detail>
    Exclude selected tabs from detail page:: Then exclude the photos tab and it will then show in the sidebar.

    Thanks,

    Stiofan

    #233157

    goodmuyis
    Expired Member
    Post count: 18

    3=> On Listing Details Page
    Thanks for you reply, I have test tested the Dev version of SD but the error still persist. I afraid I may be the only one having the problem. I stated in my last post it wasn’t the cat-icon causing the problem rather a kind of NULL value for category link in the ($term_url).

    In my findings some listing were having either EMPTY or MISSING category or sub category see attached image

    
    
    foreach ($cats_arr as $cat) {
      $term_arr = get_term($cat, $post_tax);
      $term_icon = isset($cat_icons[$cat]) ? $cat_icons[$cat] : '';
      $term_url = get_term_link(intval($cat), $post_tax);
    ##The nesx line is where the problem lies on the link to $term_url
      echo '<li><a href="' . $term_url . '"><img src="' . $term_icon . '">'; 
      echo '<span class="cat-link">' . $term_arr->name . '</span>';
      echo '</a></li>';
    }

    If I remove entirely the

    <a href="' . $term_url . '">

    all seems to be fine but the category will not be linked

    #233187

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    every cat has to have a link, otherwise the cat does not exist, did u delete it? Try removing and adding the cats back, if you have lots of listings like this you might want to export them and fix the cats and reimport them to update the cats.

    Thanks,

    Stiofan

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount