Title: PHP Warning – class-wp-hook.php
Last modified: December 29, 2018

---

# PHP Warning – class-wp-hook.php

 *  Resolved [Lindsay Heydon](https://wordpress.org/support/users/lindsay-heydon/)
 * (@lindsay-heydon)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/php-warning-class-wp-hook-php-2/)
 * I have the same issue as this post [https://wordpress.org/support/topic/php-warning-class-wp-hook-php/#post-11028174](https://wordpress.org/support/topic/php-warning-class-wp-hook-php/#post-11028174)
   but my comment below was removed from it so I’m now starting my own thread.
 * I have exactly the same issue as the OP, happening very recently with same errors;
   [
   23-Dec-2018 15:27:02 UTC] PHP Warning: current() expects parameter 1 to be array,
   null given in /home/**/public_html/wp-includes/class-wp-hook.php on line 275
 * I have also noticed this;
    [26-Dec-2018 12:15:15 UTC] PHP Fatal error: Call to
   undefined function et_fb_enabled() in /home/**/public_html/wp-content/themes/
   Divi/includes/builder/framework.php on line 226
 * This makes sense as I use Genesis in my own themes and I’m not having an issue
   with them, it’s only this one site developed by someone else but hosted through
   me and using Divi that has a problem: in short I’m using the same hosting for
   all sites, so as my numerous (50+) Genesis sites seem fine it led me to think
   it’s a plugin/theme issue. Does everyone else having an issue with the error_log
   file very recently growing exponentially also use Divi?

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

 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [7 years, 3 months ago](https://wordpress.org/support/topic/php-warning-class-wp-hook-php-2/#post-11035098)
 * Seen a number of these:
 * [https://wordpress.org/support/topic/fatal-error-with-divi-wp-theme/](https://wordpress.org/support/topic/fatal-error-with-divi-wp-theme/)
   
   [https://github.com/elegantthemes/Divi-Beta/issues/1102](https://github.com/elegantthemes/Divi-Beta/issues/1102)
 * Sounds like you need to update the Divi theme.
 *  Thread Starter [Lindsay Heydon](https://wordpress.org/support/users/lindsay-heydon/)
 * (@lindsay-heydon)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/php-warning-class-wp-hook-php-2/#post-11039640)
 * Many thanks, I only host this site (I don’t have back end access) so I will ask
   the web developer to update. Many thanks for your help.

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

The topic ‘PHP Warning – class-wp-hook.php’ is closed to new replies.

## Tags

 * [class-wp-hook](https://wordpress.org/support/topic-tag/class-wp-hook/)
 * [PHP Warning](https://wordpress.org/support/topic-tag/php-warning/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Lindsay Heydon](https://wordpress.org/support/users/lindsay-heydon/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/php-warning-class-wp-hook-php-2/#post-11039640)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
