Forum Replies Created

Viewing 15 replies - 121 through 135 (of 187 total)
  • Thread Starter devsaredead

    (@devsaredead)

    I keep seeing nothing related to WPJM. I have this error:

    PHP Deprecated: Function create_function() is deprecated in /…/wp-content/plugins/code-snippets/php/snippet-ops.php(582) : eval()’d code on line 11

    but disabling “code snippet” doesn’t prevent the critical error from appearing. I cannot pinpoint the problem.

    Thread Starter devsaredead

    (@devsaredead)

    yes but WPJM has been running together with wyz-toolkit for some years, so I wasn’t expecting any breaking like this. Maybe it’s better you tell me if you have made some big changes to the code/templates. My theme is not being updated by the developers so I’m stuck.

    Thread Starter devsaredead

    (@devsaredead)

    1) I’m getting the classic “critical error” box, but without receiving an email. Then, once turned debug mode on, on updating the plugin I got this message in the backend:

    Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /mydomain.info/wp-includes/functions.php on line 5420

    where I can find this default WP code:

    /**Flushes all output buffers for PHP 5.2. Make sure all output buffers are flushed before our singletons are destroyed.*/
    function wp_ob_end_flush_all() {
    $levels = ob_get_level();
    for ( $i = 0; $i < $levels; $i++ ) { ob_end_flush(); } }

    2) and then a fatal error in the frontend, mentioning a core plugin.

    Fatal error: Uncaught Error: Call to undefined method WP_Job_Manager_Shortcodes::job_dashboard_handler() in /…./wp-content/plugins/wyz-toolkit/classes/class-user-account.php:40 Stack trace: #0 /…./wp-includes/class-wp-hook.php(324): WyzUserAccount->{closure}(Object(WP)) #1 /…./wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #2 /…./wp-includes/plugin.php(565): WP_Hook->do_action(Array) #3 /…./wp-includes/class-wp.php(830): do_action_ref_array(‘wp’, Array) #4 /…./wp-includes/functions.php(1336): WP->main(”) #5 /…./wp-blog-header.php(16): wp() #6 /…./index.php(17): require(‘/home/agenda/ba…’) #7 {main} thrown in /…./wp-content/plugins/wyz-toolkit/classes/class-user-account.php on line 40

    Now the problem is that wyz-toolkit is the plugin that makes the whole theme run. Yet, I have been updating WPJM for a long time, and this is the first time I get this error.

    3) Moreover, in the debug-log file I have found this error, that seem related to WPJM:

    PHP Fatal error: Uncaught Error: Call to undefined method WP_Job_Manager_Shortcodes::job_dashboard_handler() in /mydomain/wp-content/plugins/wyz-toolkit/classes/class-user-account.php:40

    where I have this code:

    if ( class_exists(‘WP_Job_Manager_Shortcodes’) ) {
    add_action( ‘wp’, function(){
    $shortcodes_handler = WP_Job_Manager_Shortcodes::instance();
    $shortcodes_handler->job_dashboard_handler();
    }

    I hope you can gather something out of all above.

    Thread Starter devsaredead

    (@devsaredead)

    hello, I had no luck by disabling all plugins, the problem is always there. Besides, if I change the theme I would obviously not be able to view the users’ dashboard. We must think of another solution….

    Thread Starter devsaredead

    (@devsaredead)

    …that last error was due to another problem I have now resolved. I still need help for WPJM triggering a critical error.

    Thread Starter devsaredead

    (@devsaredead)

    I found that snippet in a tutorial. What it does is adding a drop-down filter to the products list filter section in the backend, so to list only the “featured/non-featured” ones.

    Thank you for the tip on the mistake. 🙂

    Thread Starter devsaredead

    (@devsaredead)

    As a matter of fact, I do! You can see the filter at the end of this function:

    // ADD A FILTER "FEATURED-NONFEATURED" IN PRODUCTS LIST
    function avs_featured_products_filter() {
    global $typenow, $wp_query;
    if ($typenow=='product') :
    // Featured/ Not Featured
    $output .= ""; $output .= ''.( 'filtra Evidenza', 'woocommerce' ).''; $output .="( 'Featured', 'woocommerce' ).""; $output .=""; $output .="";
    echo $output;
    endif;
    }
    add_action('restrict_manage_posts', 'avs_featured_products_filter');
    function avs_featured_products_filter_query( $query ) {
    global $typenow;
    if ( $typenow == 'product' ) {
    // Subtypes
    if ( ! empty( $_GET['featured_status'] ) ) {
    if ( $_GET['featured_status'] == 'featured' ) {
    $query->query_vars['tax_query'][] = array(
    'taxonomy' => 'product_visibility',
    'field' => 'slug',
    'terms' => 'featured',
    );
    } elseif ( $_GET['featured_status'] == 'normal' ) {
    $query->query_vars['tax_query'][] = array(
    'taxonomy' => 'product_visibility',
    'field' => 'slug',
    'terms' => 'featured',
    'operator' => 'NOT IN',
    );
    }
    }
    }
    }
    add_filter( 'parse_query', 'featured_products_filter_query' );
    Thread Starter devsaredead

    (@devsaredead)

    …apparently the error occurs every day at the same hour, for a few seconds, and then switches to the next day. You can view it here below:

    [04-May-2024 05:58:43 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [04-May-2024 05:58:43 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [04-May-2024 05:58:43 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [04-May-2024 05:58:43 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [04-May-2024 05:58:45 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [04-May-2024 05:58:45 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [04-May-2024 05:58:45 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [04-May-2024 05:58:45 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [04-May-2024 05:58:48 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [04-May-2024 05:58:48 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [04-May-2024 05:58:48 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [04-May-2024 05:58:48 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [04-May-2024 05:58:50 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [04-May-2024 05:58:50 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [04-May-2024 05:58:50 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [04-May-2024 05:58:50 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [04-May-2024 05:58:53 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [04-May-2024 05:58:53 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [04-May-2024 05:58:53 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [04-May-2024 05:58:53 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [05-May-2024 05:58:47 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [05-May-2024 05:58:47 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [05-May-2024 05:58:47 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [05-May-2024 05:58:47 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [05-May-2024 05:58:49 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [05-May-2024 05:58:49 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [05-May-2024 05:58:49 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [05-May-2024 05:58:49 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [05-May-2024 05:58:52 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [05-May-2024 05:58:52 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [05-May-2024 05:58:52 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [05-May-2024 05:58:52 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [05-May-2024 05:58:55 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [05-May-2024 05:58:55 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [05-May-2024 05:58:55 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [05-May-2024 05:58:55 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [05-May-2024 05:58:57 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [05-May-2024 05:58:57 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [05-May-2024 05:58:57 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [05-May-2024 05:58:57 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [06-May-2024 05:58:44 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [06-May-2024 05:58:44 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [06-May-2024 05:58:45 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [06-May-2024 05:58:45 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [06-May-2024 05:58:47 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [06-May-2024 05:58:47 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [06-May-2024 05:58:47 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [06-May-2024 05:58:47 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [06-May-2024 05:58:50 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [06-May-2024 05:58:50 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [06-May-2024 05:58:50 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [06-May-2024 05:58:50 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [06-May-2024 05:58:52 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [06-May-2024 05:58:52 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [06-May-2024 05:58:52 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [06-May-2024 05:58:53 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [06-May-2024 05:58:54 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [06-May-2024 05:58:54 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [06-May-2024 05:58:55 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [06-May-2024 05:58:55 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [07-May-2024 05:59:04 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [07-May-2024 05:59:04 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [07-May-2024 05:59:05 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [07-May-2024 05:59:05 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [07-May-2024 05:59:10 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [07-May-2024 05:59:10 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [07-May-2024 05:59:10 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [07-May-2024 05:59:10 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [07-May-2024 05:59:13 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [07-May-2024 05:59:13 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [07-May-2024 05:59:13 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [07-May-2024 05:59:14 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [07-May-2024 05:59:16 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [07-May-2024 05:59:16 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [07-May-2024 05:59:16 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [07-May-2024 05:59:16 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [07-May-2024 05:59:18 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [07-May-2024 05:59:18 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [07-May-2024 05:59:18 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324
    [07-May-2024 05:59:18 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'featured_products_filter_query' not found or invalid function name in /home/agenda/backstage.agendadelvolo.info/wp-includes/class-wp-hook.php on line 324

    I don’t detect any plugin conflict. This happened after the last WPJM update, and it seems that it conflicts only with itself (or WordPress)

    Thread Starter devsaredead

    (@devsaredead)

    Thank you for taking time to investigate this. I have no log file within status>logs, neither one under /wp-content/uploads/wc-logs. That warning is instead contained within my server public_html/error_log and it is repeated since March 2022.

    Next, you can review my status report here.

    Thread Starter devsaredead

    (@devsaredead)

    I made a second attempt but still nothing related to WPJM in the log file, where I just have a repetition of the following error:

    [05-May-2024 05:58:57 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘featured_products_filter_query’ not found or invalid function name in /…./wp-includes/class-wp-hook.php on line 324

    Any further hints?

    Thread Starter devsaredead

    (@devsaredead)

    …it has not recreated the log file

    Thread Starter devsaredead

    (@devsaredead)

    again, I wouldn’t know what file I should look for. I have a “error_log” file under my directory but it contains hundreds of errors like this one (going on for a couple of years):

    PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘featured_products_filter_query’ not found or invalid function name in /…/wp-includes/class-wp-hook.php on line 324

    (which contains:

    $value = call_user_func_array( $the_['function'], $args );

    so nothing related to WPJM or any critical/fatal errors.

    But besides the normal “critical error message”, I can also get the following:

    You do not have sufficient permissions to access this admin page. Reason: The current user doesn’t have the “edit_job_listings” capability that is required to access the “Offerte lavoro” menu item.

    Thread Starter devsaredead

    (@devsaredead)

    hello. I’m positive that the template was not changed (you can view a job sample here). The templates that are included in the theme are the following ones:

    content-job_listing.php
    content-single-job_listing-company.php
    content-single-job_listing-meta.php
    content-summary-job_listing.php
    job-application.php
    job-preview.php
    job-submitted.php
    job-manager.php
    single-job.php

    Renaming the template’s name, the error remains.

    Thread Starter devsaredead

    (@devsaredead)

    I do have access to my server but please tell me what I should look for, because I have restored my site now. Yet, I still have the error in my staging site. The dashboard is in the theme’s core, not created by any plugin.

    Thread Starter devsaredead

    (@devsaredead)

    yes @dcka, I had checked disabling WPJM and confirm that the plugin is causing the error. I’m on Worpdress 6.5.2 and WPJM 2.3.0. The error show up when I try to access my user’s backend (both as admin and as a demo user, both with a URL and with the go-to-dashboard button).

    • This reply was modified 2 years, 1 month ago by devsaredead.
Viewing 15 replies - 121 through 135 (of 187 total)