jonnnnyw / magento-oauth

Magento OAuth service for the Lusitanian PHP OAuth library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RuntimeException: Could not detect URI path from superglobal

pult opened this issue · comments

For line:
$currentUri = $uriFactory->createFromSuperGlobalArray($_SERVER);

PHP Fatal error:  Uncaught RuntimeException: Could not detect URI path from superglobal in ...
Stack trace:
#0 OAuth\Common\Http\Uri\UriFactory.php(28): OAuth\Common\Http\Uri\UriFactory->detectPath(Array)
#1 OAuth\Common\Http\Uri\UriFactory->createFromSupe
rGlobalArray(Array)
#2 {main}
  thrown in vendor\lusitanian\oauth\src\OAuth\Common\Http\Uri\UriFactory.php on line 102

OAuth ver (composer.json):
"lusitanian/oauth": "~0.3"
or
"lusitanian/oauth": "0.2.*"