Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array Error Line 151 #25

Open
GabrielPierce opened this issue Jun 7, 2017 · 0 comments
Open

Array Error Line 151 #25

GabrielPierce opened this issue Jun 7, 2017 · 0 comments

Comments

@GabrielPierce
Copy link

Error: Warning: array_map(): Argument #2 should be an array in /home/gabrielpierce/public_html/wp-content/plugins/wp-multisite-sso/wp-multisite-sso.php on line 145
`
// add reference to hash to the user's meta, store the time and all sso objects

	$user_meta = array(
		'hash'  => $user_hash,
		'value' => array(
			'timestamp' => $time,
			'keys'      => $sso_objects
		)
	);

	update_user_meta( $user->ID, self::USER_META_KEY, $user_meta );

	$action = self::LOGIN_ACTION;

	include __DIR__ . '/inc/sso.php';

	die;
}

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant