Please help: Argument #2 ($wp_query) must be passed by reference

Can someone help me fix these errors, please?

Warning: title_like_posts_where(): Argument #2 ($wp_query) must be passed by reference, value given in /home/username/public_html/wp-includes/class-wp-hook.php on line 324

Warning: title_filter(): Argument #2 ($wp_query) must be passed by reference, value given in /home/username/public_html/wp-includes/class-wp-hook.php on line 324

Warning: title_like_posts_where(): Argument #2 ($wp_query) must be passed by reference, value given in /home/username/public_html/wp-includes/class-wp-hook.php on line 324

Warning: title_filter(): Argument #2 ($wp_query) must be passed by reference, value given in /home/username/public_html/wp-includes/class-wp-hook.php on line 324

Warning: title_like_posts_where(): Argument #2 ($wp_query) must be passed by reference, value given in /home/username/public_html/wp-includes/class-wp-hook.php on line 324

Warning: title_filter(): Argument #2 ($wp_query) must be passed by reference, value given in /home/username/public_html/wp-includes/class-wp-hook.php on line 324

Warning: Cannot modify header information – headers already sent by (output started at /home/username/public_html/wp-includes/class-wp-hook.php:324) in /home/username/public_html/wp-includes/pluggable.php on line 1435

Warning: Cannot modify header information – headers already sent by (output started at /home/username/public_html/wp-includes/class-wp-hook.php:324) in /home/username/public_html/wp-includes/pluggable.php on line 1438

This is the line 324 of the file wp-includes/class-wp-hook.php

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

This is the full code:

Thank you in advance

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer