Forums

[Plugin: Custom Field Taxonomies] Magic fields and Custom fields taxonomies (13 posts)

  1. JediSthlm
    Member
    Posted 2 weeks ago #

    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 http://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

    http://wordpress.org/extend/plugins/custom-field-taxonomies/

  2. JediSthlm
    Member
    Posted 2 weeks ago #

    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.

  3. JediSthlm
    Member
    Posted 2 weeks ago #

    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.

  4. JediSthlm
    Member
    Posted 1 week ago #

    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]

  5. scribu
    Member
    Posted 1 week ago #

    Any luck with the errors?

  6. JediSthlm
    Member
    Posted 1 week ago #

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

    http://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.

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

  7. scribu
    Member
    Posted 1 week ago #

    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;
    }
  8. JediSthlm
    Member
    Posted 1 week ago #

    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

  9. JediSthlm
    Member
    Posted 1 week ago #

    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(); ?>

  10. scribu
    Member
    Posted 1 week ago #

    And you get no errors except NOTICES?

    What happens if you disable GDSR?

  11. JediSthlm
    Member
    Posted 1 week ago #

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

  12. JediSthlm
    Member
    Posted 1 week ago #

    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(); ?>
    http://pastebin.com/f1e087994

    Here is the php error output when:
    CFT on, GDSR is on and <?php the_excerpt(); ?>
    http://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

  13. scribu
    Member
    Posted 1 week ago #

    That shouldn't affect the_excerpt().

Reply

You must log in to post.

About this Topic