Horje
warning: parameter 2 to search_by_title() expected to be a reference, value given in Code Example
warning: parameter 2 to search_by_title() expected to be a reference, value given inwp-includes\class-wp-hook.php on line 287
#Custom theme (old themes that does not support the new PHP 7.1+ version)
#PHP 7.1 doesn’t like & in front of $query parameters in functions.
#In the Themes -> <your-theme> -> functions.php -> search the code and remove the &
__search_by_title_only( $search, $wp_query ) {
warning: parameter 2 to search_by_title() expected to be a reference, value given in
#plugin version
#PHP 7.1+ doesn’t like & in front of $query parameters in functions remove it and you should be fine.
Example in the source

#Custom theme (old themes that does not support the new PHP 7.1+ version)
#PHP 7.1 doesn’t like & in front of $query parameters in functions.
#In the Themes -> <your-theme> -> functions.php -> search the code and remove the &
__search_by_title_only( $search, $wp_query ) {

#source: https://generatepress.com/forums/topic/search-function-error/




Php

Related
ajax php call action form Code Example ajax php call action form Code Example
Script to create AdminLTE in a Laravel project Code Example Script to create AdminLTE in a Laravel project Code Example
php get ip by domain Code Example php get ip by domain Code Example
laravel verification email Code Example laravel verification email Code Example
session variable Code Example session variable Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8