babble
babble copied to clipboard
Error right after installation
When installing Babble on Wordpress 5.6 NL I get this error (warning)
Warning: Parameter 2 to Babble_Post_Public::the_posts() expected to be a reference, value given in /home/divineful1/domains/divinefulness.info/public_html/wp-includes/class-wp-hook.php on line 287
Please advice
After beigh searching for a little bit, i went to class-post-public.php file and edited the line 536 from: public function the_posts( array $posts, WP_Query & $wp_query ) {
to this: public function the_posts( array $posts, WP_Query $wp_query ) {
the "&" is to pass references trough variables.
The error dissapears but in future updates if is not fixed it wil return.