• Resolved luismotv77

    (@luismotv77)


    Hello,

    I noticed that the plugin was generating an error. However, When I use the site everything seem normal.

    The page that use the filter is: https://sensationalbrain.com/ceu/on-demand-webinars/

    The error generated is the following:

    PHP Fatal error: Uncaught TypeError: property_exists(): Argument #1 ($object_or_class) must be of type object|string, bool given in /srv/htdocs/wp-content/plugins/filter-everything/src/WpManager.php:429 Stack trace: #0 /srv/htdocs/wp-content/plugins/filter-everything/src/WpManager.php(429): property_exists(false, ‘data’) #1 /srv/htdocs/wp-content/plugins/filter-everything/src/WpManager.php(179): FilterEverything\Filter\WpManager->identifyWpQueriedObject(Object(WP_Query)) #2 /wordpress/core/6.7.1/wp-includes/class-wp-hook.php(324): FilterEverything\Filter\WpManager->addFilterQueryToWpQuery(Object(WP_Query)) #3 /wordpress/core/6.7.1/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #4 /wordpress/core/6.7.1/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #5 /wordpress/core/6.7.1/wp-includes/class-wp-query.php(1881): do_action_ref_array(‘pre_get_posts’, Array) #6 /wordpress/core/6.7.1/wp-includes/class-wp-query.php(3852): WP_Query->get_posts() #7 /wordpress/core/6.7.1/wp-includes/class-wp.php(696): WP_Query->query(Array) #8 /wordpress/core/6.7.1/wp-includes/class-wp.php(816): WP->query_posts() #9 /wordpress/core/6.7.1/wp-includes/functions.php(1336): WP->main(”) #10 /wordpress/core/6.7.1/wp-blog-header.php(16): wp() #11 /wordpress/core/6.7.1/index.php(17): require(‘/wordpress/core…’) #12 {main} thrown in /srv/htdocs/wp-content/plugins/filter-everything/src/WpManager.php on line 429

    Kind regards.

    • This topic was modified 3 months ago by luismotv77.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support fesupportteam

    (@fesupportteam)

    Hi?@luismotv77

    Thank you for your message. We will forward this to the development team. When we receive any information about it, we will update you in this thread.

    Best Regards – Victor

    Plugin Support fesupportteam

    (@fesupportteam)

    Hi @luismotv77

    You can go to the /wp-content/plugins/filter-everything-pro/src/WpManager.php on line 429 and change this code:

    if( ! is_null( $user ) && property_exists( 
    $wp_queried_object['author'] = $user->data->user_nicename;
    }

    To this:

    if( ! is_null( $user ) && is_object( $user
    $wp_queried_object['author'] = $user->data->user_nicename;
    }

    And check if this issue appears again.

    Best Regards – Victor

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.