Support » Plugin: Advanced Woo Search » Warning

  • Resolved bahola


    Hi I have been getting this message for the last two days. I had to deactivate the plugin and this warning disappeared.
    Please let me know how I resolve this. I NEED to use your plugin!

    Warning: Parameter 2 to AWS_Search_Page::filter_the_posts() expected to be a reference, value given in */*/wp-includes/class-wp-hook.php on line 298

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author ILLID



    Please try the following: open includes/class-aws-search-page.php file,
    find line

    public function filter_the_posts( $posts, &$query ) {

    and remove & from it.

    So the line must look like

    public function filter_the_posts( $posts, $query ) {

    Please write me about results.

    Thanks @mihail-barinov that seemed to resolve the issue.

    It worked for me aswell! Thanks mate!

    What will happen next time you update the plugin?

    Enjoy your weekend.

    Plugin Author ILLID



    I will add this changes in the next release so don’t worry about that.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning’ is closed to new replies.