I updated a Contact-Form-7 plugin on my WordPress site, and now am getting this error:
Notice: Undefined index: contact-form-7 in /home/kilowa5/public_html/wp-includes/class.wp-scripts.php on line 250
Notice: Trying to get property of non-object in /home/kilowa5/public_html/wp-includes/class.wp-scripts.php on line 250
Here are lines 241-258 of the class.wp-scripts.php file:
}
/**
* @param string $handle Name of the item. Should be unique.
* @param bool $recursion Internal flag that calling function was called recursively.
* @param mixed $group Group level.
* @return bool Not already in the group or a lower group
*/
public function set_group( $handle, $recursion, $group = false ) {
if ( $this->registered[$handle]->args === 1 )
$grp = 1;
else
$grp = (int) $this->get_data( $handle, 'group' );
if ( false !== $group && $grp > $group )
$grp = $group;
return parent::set_group( $handle, $recursion, $grp );
Line 250 is if ( $this->registered[$handle]->args === 1 )