Closed barros001 closed 10 years ago
@barros001 thanks for pointing it out :+1: Apologies for the delay on our side!
@Arul- looks like 18f67f4 has some extra __
on the method call:
? Scope::get($this->authClasses[0])->____getWWWAuthenticateString()
The iAuthenticate
interface define it as __getWWWAuthenticateString
Yes! I fixed it in 090c084636bc840fd98622fd4ca8b034b99206b4
Cool, thanks!
On file
restler/vendor/Luracast/Restler/Restler.php
respond()
method is calling the__getWWWAuthenticateString()
on a class name:$this->authClasses
is an array of class names, and not objects. This results in a fatal error every time a request returns a response code 401:Message: Call to a member function __getWWWAuthenticateString() on a non-object