• Jens Wedin

    (@jedisthlm)


    I’m using two plugins, Magic fields (1.2.1) and Custom fields taxonomies(1.4.1b).
    There seem to be some problem with these two. For example, I have a custom field called ‘age’ which I have also registred in CFT.
    When I have both plugins activated I get a blank page when trying https://mysite.com/?age=12
    If I deactivate Magic fields I works ok.

    I has been working before but when I updated the plugins, it stopped working. Not sure if this relates to CFT or MF. I will also post this in their forum.

    Cheers,
    Jens

    https://www.ads-software.com/extend/plugins/custom-field-taxonomies/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter Jens Wedin

    (@jedisthlm)

    I’m sorry. Magic fields is not the problem, it seem to be the GD Star Rating plugin that there is a problem. I will also ask the author of that plugin what can be the problem.

    Thread Starter Jens Wedin

    (@jedisthlm)

    This is the answer I got from the GDSR plugin author
    —-
    I tried CFT, and I couldn’t notice any problems while GDSR is active. And meta.php is a standard template like in any theme with only two functions calls added to display meta taxonomies. Also CFT has MANY warnings and minor things that need to be fixed. I always develop with WP_DEBUG active, but CFT raises too many warnings, and I had to disable debug.
    I don’t have the time to test each plugin in depth. And if something like this is not working for you, you NEED to provide the errors that are thrown. And since you get black page as result, there must be an error behind that. Once you provide me with that error I will be able to see what the problem really is. Either run website with debug active to catch it, or find the error in php log files. If you can’t provide it, I will close this issue in the next few days.

    I will try to see if I can get an visible error for this.

    Thread Starter Jens Wedin

    (@jedisthlm)

    Hi

    I tried to produce some errors. This what I’ve done

    I the wp-config.php I set define(‘WP_DEBUG’, true);

    In the GDSR settings I turned on

    Log into file various debug information.

    Save into debug file each WP Query executed.

    On every page PHP output this

    —–

    [huge chunk of code moderated – please use a pastebin or link to file]

    scribu

    (@scribu)

    Any luck with the errors?

    Thread Starter Jens Wedin

    (@jedisthlm)

    @scribu: My post got moderated so I put the post on patebin instead.

    https://pastebin.com/f156633d2

    As I am trying to find out what the problem is I also wrote the same thing on GDSR forum, which is here, he answered that he see no problem with his plugin.

    https://tracker.gdstarrating.com/viewissue.php?issue_no=15

    scribu

    (@scribu)

    Hm… the only interesting notice there is the first one:

    <b>Notice</b>:  Trying to get property of non-object in <b>/Users/jens/Sites/chwisgi-dev/wp-includes/general-template.php</b> on line <b>366</b><br />

    But I found that that’s because you’re not using a translation.

    I have no ideea.

    Try this workaround:

    Rename meta.php to _meta.php and add this line at the top of index.php:

    if ( is_meta() ) {
      include_once TEMPLATEPATH . '/_meta.php';
      die;
    }
    Thread Starter Jens Wedin

    (@jedisthlm)

    Hi

    I tried the:

    if ( is_meta() ) {
      include_once TEMPLATEPATH . '/_meta.php';
      die;
    }

    with no luck. Just to try something else I activated another theme and now both GDSR and CFT works fine. I use a really customized theme which must be the cause of this. I will go back and see if I can figure out what the problem is.

    Thanks for all your support.

    /Jens

    Thread Starter Jens Wedin

    (@jedisthlm)

    I been playing around with another theme; cleanr and just added the meta.php template. I can still reproduce the problem with this theme.

    If I use the below code it shows the articles filtered by the CFT plugin for example /?age=15
    <?php the_content('Read more...'); ?>

    But if I have this in the template I get a blank page
    <?php the_excerpt(); ?>

    scribu

    (@scribu)

    And you get no errors except NOTICES?

    What happens if you disable GDSR?

    Thread Starter Jens Wedin

    (@jedisthlm)

    I have some more info on this, I will let you know when I am at my computer at home.

    Thread Starter Jens Wedin

    (@jedisthlm)

    Thanks scribu for taking your time. I have produced some errros.

    First, the settings
    Using a plain theme, cleanr.
    I turned off all plugins and only trying CFT and GDSR plugin.
    In the wp-config.php I use define(‘WP_DEBUG’, true);
    In the meta.php I have <?php the_excerpt(); ?> for

    Here is the php error output when:
    CFT turned on , GDSR turned off and <?php the_excerpt(); ?>
    https://pastebin.com/f1e087994

    Here is the php error output when:
    CFT on, GDSR is on and <?php the_excerpt(); ?>
    https://pastebin.com/f1ba267a

    Notice the warning I get from line 85. Is this a GDSR or CFT problem, could this be what causing the problem?

    Cheers,
    Jens

    scribu

    (@scribu)

    That shouldn’t affect the_excerpt().

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: Custom Field Taxonomies] Magic fields and Custom fields taxonomies’ is closed to new replies.