Title: PHP Warning: in /srv/html/wp-includes/class-wp-hooks.php
Last modified: February 18, 2020

---

# PHP Warning: in /srv/html/wp-includes/class-wp-hooks.php

 *  [erkored](https://wordpress.org/support/users/erkored/)
 * (@erkored)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/php-warning-in-srv-html-wp-includes-class-wp-hooks-php/)
 * Hi,
 * I get the following error:
 * PHP Warning: Parameter 2 to JiscSite::advanced_custom_search() expected to be
   a reference, value given in /srv/html/wp-includes/class-wp-hook.php on line 288
 * I have updated all plugins 1 by 1 and the error still remains. The WP was also
   updated.
 * I have tried different solutions which worked before but now they don’t.
    – Tried
   updating /wp-includes/script-loader.php function wp_default_scripts(&$scripts)
   to ($scripts)
 * PHP Version: 7.3.24
    WordPress version: 5.3.2
 *     ```
       public function apply_filters( $value, $args )
   
       $value = call_user_func_array( $the_['function'], array($args) );
       ```
   
 *  <<< Error here
 * Anyone successfuly solved it?
 * Thanks!
    -  This topic was modified 6 years, 2 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [erkored](https://wordpress.org/support/users/erkored/)
 * (@erkored)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/php-warning-in-srv-html-wp-includes-class-wp-hooks-php/#post-12450404)
 * I can just ignore the message but I would like to get rid of it. Also, if debugging
   is allowed the messaged sometimes flood the website with eror logs and it stops
   working.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 2 months ago](https://wordpress.org/support/topic/php-warning-in-srv-html-wp-includes-class-wp-hooks-php/#post-12450999)
 * I recommend asking at [https://wordpress.org/support/plugin/advanced-custom-post-search/#new-post](https://wordpress.org/support/plugin/advanced-custom-post-search/#new-post)
   so the plugin’s developers and support community can help you with this.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Warning: in /srv/html/wp-includes/class-wp-hooks.php’ is closed to
new replies.

## Tags

 * [PHP7](https://wordpress.org/support/topic-tag/php7/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/php-warning-in-srv-html-wp-includes-class-wp-hooks-php/#post-12450999)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
