Support » Plugin: Dave's WordPress Live Search » Fix for PHP Static warning on PHP 7

  • Resolved Dale Mugford

    (@dalemugford)


    Just posting a fix, hopefully will be included in a future update for the plugin:

    on line 14 in admin_header.tpl.php, a new instance is needed.

    so line 14 changes from:

    $current_tab = DWLS_Util::match_array_key_or_default(

    to:

    $current_tab = (new DWLS_Util)->match_array_key_or_default(

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Fix for PHP Static warning on PHP 7’ is closed to new replies.