Theme Issue – Follow on from #62951

This topic contains 8 replies, has 3 voices, and was last updated by  Simon Skull 8 years, 4 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #64894

    Simon Skull
    Full Member
    Post count: 177

    To fix this i replaced this plugin file:-
    /plugins/cubell-themes-functionality/extensions/Tax-meta-class/Tax-meta-class.php
    with our version:
    /plugins/geodirectory/geodirectory-functions/cat-meta-functions/Tax-meta-class.php

    Now get this when clicking old category items:-
    Fatal error: Call to undefined function get_tax_meta_strip() in /var/sites/l/leapinghare.org/public_html/wp-content/themes/valenti/category.php on line 13

    Is there anything I can do?

    #64941

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    I’ve flagged this for Stiofan. Please report link, admin and ftp credentials in a private reply, so that we can follow up without having to search them in old topics.

    Let us know,

    Thanks

    #64948

    Simon Skull
    Full Member
    Post count: 177
    This reply has been marked as private.
    #65019

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    FTP info does not seem to work.

    We might have to copy any extra functions they have in that file over to your child theme.

    Stiofan

    #65077

    Simon Skull
    Full Member
    Post count: 177
    This reply has been marked as private.
    #65117

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    these credentials are not working either.

    Please double check them before sending them again.

    Thanks

    #65121

    Simon Skull
    Full Member
    Post count: 177
    This reply has been marked as private.
    #65126

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Thanks for the info, i added the function to your theme functions.php, if you update your theme you wil have to add it back (you should really use a child theme)

    
    
    
    //get term meta field and strip slashes
      if (!function_exists('get_tax_meta_strip')){
        function get_tax_meta_strip($term_id,$key,$multi = false){
          $t_id = (is_object($term_id))? $term_id->term_id: $term_id;
          $m = get_option( 'tax_meta_'.$t_id);  
          if (isset($m[$key])){
            return is_array($m[$key])? $m[$key] : stripslashes($m[$key]);
          }else{
            return '';
          }
        }
      }

    Thanks,

    Stiofan

    #65135

    Simon Skull
    Full Member
    Post count: 177

    Many thanks

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

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

Open Support Ticket