#45268 closed defect (bug) (invalid)
Warning: session_start() expects parameter 1 to be array, string given in /home/swydell20/public_html/RedTwig/wp-includes/class-wp-hook.php on line 286
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.9.8 |
Component: | Plugins | Keywords: | |
Focuses: | Cc: |
Description
I don't know how this happened. I believe it began when I was trying custom css. I tried changing Themes. I need help. I'm new to WordPress.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hi there and welcome to WordPress Trac!
We use this site to track bugs and enhancements to WordPress core. For support questions like yours please use the official forums at https://wordpress.org/support instead.
WordPress core does not use PHP sessions and thus no
session_start()
. That means a plugin or the theme you're using does make use ofsession_start()
in some wrong way, causing that warning.I recommend you to disable all plugins and switch to a default theme like Twenty Seventeen to see whether the issue disappears. You can then activate plugins again one by one to find the specific plugin that's causing the issue. You might then want to contact the plugin's developer to notify them about that issue.
I know that the reference to a WordPress core file (
wp-includes/class-wp-hook.php
) can be irritating, but it doesn't actually mean it's a WordPress issue.