Jump to content

Warning: session_start() expects parameter 1 to be array, string given in /


swydell

Recommended Posts

This is a problem I encountered while building a WordPress website RedTwig  This is what shows at the top of my website: 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.  Here is the file: class-wp-hook.php I've asked for help on several forums such as stacks overflow, dreamin code, and phphelp but so far nobody seems to know how I can fix it. I would appreciate any help here. Thank you in advance.

Link to comment
Share on other sites

Somewhere you have something that is trying to add session_start as a hook. It should not be doing that. Or maybe it should but it's doing so for the wrong hook. Or maybe whatever it's coming from is the wrong version for your WordPress.

Search your site for "session_start" to identify where that's happening.

Link to comment
Share on other sites

16 hours ago, swydell said:

This is a problem I encountered while building a WordPress website RedTwig  This is what shows at the top of my website: 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.  Here is the file: class-wp-hook.php I've asked for help on several forums such as stacks overflow, dreamin code, and phphelp but so far nobody seems to know how I can fix it. I would appreciate any help here. Thank you in advance.

I've tried checking the php code but couldn't find any issues with the code.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.