Skip to main content
added 2 characters in body
Source Link

In the past days, some WordPress websites generate huge error_log in public_html! all websites have cPanel. in all websites that have this problem, those error logs are the same content.

 PHP Warning:  next() expects parameter 1 to be array, null given in /home/username/public_html/wp-includes/class-wp-hook.php on line 291
 PHP Warning:  current() expects parameter 1 to be array, null given in /home/username/public_html/wp-includes/class-wp-hook.php on line 275
 PHP Warning:  Invalid argument supplied for foreach() in /home/username/public_html/wp-includes/class-wp-hook.php on line 277

I really do not know what that is and Whywhy this has a sudden problem? Why suddenly the logs are bulky?

In the past days, some WordPress websites generate huge error_log in public_html! all websites have cPanel. in all websites that have this problem, those error logs are the same content.

 PHP Warning:  next() expects parameter 1 to be array, null given in /home/username/public_html/wp-includes/class-wp-hook.php on line 291
 PHP Warning:  current() expects parameter 1 to be array, null given in /home/username/public_html/wp-includes/class-wp-hook.php on line 275
 PHP Warning:  Invalid argument supplied for foreach() in /home/username/public_html/wp-includes/class-wp-hook.php on line 277

I really do not know what that is and Why this has a sudden problem??

In the past days, some WordPress websites generate huge error_log in public_html! all websites have cPanel. in all websites that have this problem, those error logs are the same content.

 PHP Warning:  next() expects parameter 1 to be array, null given in /home/username/public_html/wp-includes/class-wp-hook.php on line 291
 PHP Warning:  current() expects parameter 1 to be array, null given in /home/username/public_html/wp-includes/class-wp-hook.php on line 275
 PHP Warning:  Invalid argument supplied for foreach() in /home/username/public_html/wp-includes/class-wp-hook.php on line 277

I really do not know why this problem? Why suddenly the logs are bulky?

Source Link

huge log generate in WordPress websites

In the past days, some WordPress websites generate huge error_log in public_html! all websites have cPanel. in all websites that have this problem, those error logs are the same content.

 PHP Warning:  next() expects parameter 1 to be array, null given in /home/username/public_html/wp-includes/class-wp-hook.php on line 291
 PHP Warning:  current() expects parameter 1 to be array, null given in /home/username/public_html/wp-includes/class-wp-hook.php on line 275
 PHP Warning:  Invalid argument supplied for foreach() in /home/username/public_html/wp-includes/class-wp-hook.php on line 277

I really do not know what that is and Why this has a sudden problem??