Skip to content
This repository has been archived by the owner on Mar 29, 2019. It is now read-only.

preg_match() expects parameter 2 to be string, object given #24

Open
jmeinlschmidt opened this issue Jan 22, 2017 · 2 comments
Open

preg_match() expects parameter 2 to be string, object given #24

jmeinlschmidt opened this issue Jan 22, 2017 · 2 comments

Comments

@jmeinlschmidt
Copy link

Probably a problem with returnUri. Nette passes an object instead of string.

@ryucz
Copy link

ryucz commented Mar 1, 2017

I have same problem here:

.../google/src/Kdyby/Google/DI/GoogleExtension.php:93 source Kdyby\Google\DI\GoogleExtension->isUrl(arguments)

$value
Nette\DI\Statement #1
entity private => ":Isskel:Sign:"
arguments => array (1)
do => "googleLoginResponse"

@danco12
Copy link

danco12 commented Mar 26, 2017

config.neon - delete/comment redirectUri row

add this - $this->google->config->setReturnDestination('googleLogin-response!'); to the beginning of the function createComponentGoogleLogin()

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

No branches or pull requests

3 participants