• Dave Wright

    (@davetwizzlebird)


    Hi, this looks like just the plugin for me, am looking to search based on a price range as per your example however I’m getting errors and haven’t managed to get this working.
    The error appears when I add

    function my_queryable_custom_fields() {
        register_queryable_custom_field( 'price', array(
            'numeric' => true
        ) );
    }
    add_action('init', 'define_queryable_custom_fields');

    to my functions.php I get struck with…

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘define_queryable_custom_fields’ was given in **MY URL**/wp-includes/plugin.php on line 395

    not sure what to do from here?

    https://www.ads-software.com/extend/plugins/query-custom-fields/

Viewing 7 replies - 1 through 7 (of 7 total)
  • I get that too! Anyone??

    @scribu: I know that you don’t actively support this plugin anymore. But could you just let us know if the plugin still work or not.

    On the plugin page you write that we should use

    function my_queryable_custom_fields() {
        register_queryable_custom_field( 'price', array(
            'numeric' => true
        ) );
    }
    add_action('init', 'define_queryable_custom_fields');

    If I do: https://tax.xyz.com/?price=100

    It gives me this error

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘define_queryable_custom_fields’ was given in /storage/content/15/136215/tax.xyz.com/public_html/wp-includes/plugin.php on line 395

    If I change the code example into

    function my_queryable_custom_fields() {
        register_queryable_custom_field( 'price', array(
            'numeric' => true
        ) );
    }
    add_action('init', 'my_queryable_custom_fields');

    If I do: https://tax.xyz.com/?price=100

    I get this error message

    Fatal error: Class ‘scbQueryManipulation’ not found in /storage/content/15/136215/tax.xyz.com/public_html/wp-content/plugins/query-custom-fields/core.php on line 107

    So, is the plugin still working? I’m on WP 3.2.1 and QCF 0.1.1

    /Jens

    Jens,

    Any luck implementing this?

    -Nick

    No. And Scribu has not answered to any of my questions. Think he is a busy man ??

    @scribu: Any thoughts on this?

    Plugin Author scribu

    (@scribu)

    I’m going to be perfectly honest with you: This plugin will be updated only if one of the following things happens:

    • some other developer adopts it
    • I find out I need it in one of my own projects

    Most likely scenario is that somebody else writes a different plugin for this. Let me know if there already is one.

    @scribu: Thanks for the reply. Yes, I thought that this was your point of view. Maybe it should be removed from the plugin directory as it doesn’t work.

    Plugin Author scribu

    (@scribu)

    It will be automatically removed from searches if it remains un-updated for two years, I think.

    You can help by pressing the “Broken” button in the compatibility box.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Query Custom Fields] multiple errors on activation’ is closed to new replies.