• Plugin receives the following error in PHP 7.2

    PHP Fatal error: Cannot use $this as parameter in wp-content/plugins/wp-search-user-by-website-url/WSUWU.php on line 36

    To resolve, replace the wsuwu_search_website_url() function with the following:


    function wsuwu_search_website_url( $search_columns, $search, $wp_user_query ) {
    $search_columns[] = ‘user_url’;
    return $search_columns;
    }

    • This topic was modified 5 years, 11 months ago by David Jensen.
  • The topic ‘Fatal error PHP 7.2’ is closed to new replies.