Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support Paul Clark

    (@pdclark)

    Thanks for the notice.
    Please file a bug with the new error, your Pods package export, and any additional useful information, like the PHP code snippet in your original post.

    Plugin Author Jory Hogeveen

    (@keraweb)

    Closing topic due to no reply, feel free to re-open if you still need help!

    Cheers, Jory

    Thread Starter Andy

    (@andywilmot)

    Hi, this problem still exist. Our search functionality has not worked for months now. Is there any other way to display a filterable list of search results?

    Plugin Support Paul Clark

    (@pdclark)

    Thread Starter Andy

    (@andywilmot)

    Is it not possible anymore just using Pods?

    Plugin Support Paul Clark

    (@pdclark)

    No, it’s just difficult to debug the error over forum posts.

    See https://support.pods.io/chat/ #support and #dev-chat channels for easier code discussion.

    Thread Starter Andy

    (@andywilmot)

    I used the exact example you provide in your docs here:

    https://docs.pods.io/code/pods/filters/

    It has the same issue, The keyword search is working, but now the filters have stopped working, throwing an error if any dropdown option is selected other than the default option.

    Here is the PHP I used:

        <?php
        $pod = pods( 'athletes' );
        // Output a filter form that shows two drop-downs for two relationship fields and the submit button text says 'Go'
        echo $pod->filters( array( 
        'fields' => array( 'discipline', 'nationality' ), 
        'label' => 'Go' 
        ) );
        // Get the items, search is automatically handled
        $pod->find();
        // Output the list of the items found
        echo '<ul>';
        // Loop through items found
        while ( $pod->fetch() ) {
            echo "<li>" . $pod->display( 'post_title' ) . '</li>';
        }
        echo '</ul>';
        // Add some pagination
        echo $pod->pagination(); ?>

    Here is the page I used for testing…
    https://awakeningfighters.com/searchtest/

    If you search for Lucy it works, but if you select any of the filters it errors.

    Plugin Contributor Scott Kingsley Clark

    (@sc0ttkclark)

    To further debug this particular issue, can you submit an official bug report and include your Pods Package (Pods Admin > Components > Migrate Packages) information so we can replicate your exact configuration?

    https://github.com/pods-framework/pods/issues/new?assignees=&labels=Type%3A+Bug&template=bug-report.yml

    This doesn’t happen in all cases so knowing exactly what you are using could help us uncover the exact cause.

    I’ll continue testing to see if I can reproduce the problem on my side.

    Plugin Contributor Scott Kingsley Clark

    (@sc0ttkclark)

    Good news — I was able to find the case where this breaks and have code that will be released in Pods 2.8.9 that totally resolves it.

    Once we release it, if you’d like to keep giving Pods a shot here — we’d love to know whether it resolves it for you or if you have any further issues that we should address.

    I’m preparing the release for today if all goes well in my final testing of other issues we want to be sure are also addressed in this release.

    Either way — thank you for your patience throughout this time and I’m sorry about your experience with this particular problem.

    Thread Starter Andy

    (@andywilmot)

    Thanks for your help and sorry for the bad review, I was just frustrated. I’ll change it back to 5 stars again. I really appreciate all the work you guys do on a free plugin and we’ve used it for 8 years or so without any issues, so my review was unfair.

    Plugin Contributor Scott Kingsley Clark

    (@sc0ttkclark)

    The release will go out this week, I’m continuing to go through other reports to see if anything else needs to be included and also double-checking a few things that we fixed that have not had confirmation of resolution on.

    Thanks for your patience.

    Plugin Contributor Scott Kingsley Clark

    (@sc0ttkclark)

    Just an update here, we’re done with the code and testing on the release. We’re writing the changelog notes and will have it out as soon as that’s done.

    Plugin Contributor Scott Kingsley Clark

    (@sc0ttkclark)

    Pods 2.8.9 is out now

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Filter form filters throwing an error’ is closed to new replies.