• FILE: /…/wp-content/plugins/daves-wordpress-live-search/class-daves-wordpress-live-search-results.php
    ——————————————————————————————————————————————————————–
    FOUND 1 ERROR AFFECTING 1 LINE
    ——————————————————————————————————————————————————————–
    21 | ERROR | Use of deprecated PHP4 style class constructor is not supported since PHP 7
    ———————————————————

    Can you please fix it?

Viewing 1 replies (of 1 total)
  • While waiting for a plugin update, you can fix this manually:

    Just change line 21 of that file from this:

    
    function DavesWordPressLiveSearchResults( $searchTerms, $displayPostMeta = true ) {
    

    to this:

    
    function __construct( $searchTerms, $displayPostMeta = true ) {
    
Viewing 1 replies (of 1 total)
  • The topic ‘Not compatible to php7’ is closed to new replies.