RedTwig Elegant Design

http://www.pendilum.com/RedTwig/
This is a warning problem. I’m new to WordPress. I’ve traced to problem to this snippet of code.
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 Line 286 begins with the second $value variable

Blockquote
// Avoid the array_slice if possible.
if ( $the_[‘accepted_args’] == 0 ) {
$value = call_user_func_array( $the_[‘function’], array() );
} elseif ( $the_[‘accepted_args’] >= $num_args ) {
$value = call_user_func_array( $the_[‘function’], $args );
} else {
$value = call_user_func_array( $the_[‘function’], array_slice( $args, 0, (int)$the_[‘accepted_args’] ) );
}

Either that’s not where the problem is originating or for some reason wordpress or your theme or some plugin is dynamically generating and calling “session_start” with the code you’ve shared.

Try echoing every $value and $the_[‘function’] and see if any of the printed values is “session_start”.

Sponsor our Newsletter | Privacy Policy | Terms of Service