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:
https://paste2.org/v6mfE9wUThank you in advance
-
Hi there,
Apologies, but we can’t help with your issue directly because we don’t host your site on our WordPress.com managed hosting.
To explain, we are a fully managed hosting provider and use a custom server environment that is optimized for WordPress, provides built-in security and performance improvements, as well as in-house support for your site questions. You can learn more about the performance and security benefits of our managed hosting here: https://wordpress.com/hosting/
Because of the way we’ve optimized our service, we also use a customized version of WordPress that is different (under the hood) from what you use at your current provider. As a result, we do not have access to your site and are not familiar with the source of your issue.
You definitely have the option to move your site to us so we can provide in-house help, and we offer a migration plugin that will help you move your site to our managed hosting in just a few clicks.
Use the Move to WordPress.com plugin to migrate a self-hosted WordPress site to WordPress.com. Follow the steps in this guide to import your site (including your content, media, plugins, and theme) directly from your wp-admin dashboard. Prerequisites To follow the steps in this guide, you will need: Your source site: a WordPress site with any other hosting provider (referred to as a seUnfortunately though, as it stands now, we are not able to help since it is hosted elsewhere. The good news is that help is available here at the open-source WordPress forums: https://wordpress.org/support/forum/how-to-and-troubleshooting
The folks in that forum are more familiar with these kinds of issues and are in the best position to help.
Thanks!
- The topic ‘Argument #2 ($wp_query) must be passed by reference’ is closed to new replies.
