You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like on php 5.4 and above line $this->_userType = $result->result->userType; throws fatal error because $result->result->userType is not set at the time it is being assign to _userType and variable does not exist, this causes to stop application from continuing to respond with next statement.
I had to patch this library with below to make it work.
$this->_userType = isset($result->result->userType)?$result->result->userType : null;
I would like to see if you have new updates to this repo that will work with latest php version and also apply check for variables check to make sure they are defined and initialized for those that are required.
The text was updated successfully, but these errors were encountered:
Looks like on php 5.4 and above line $this->_userType = $result->result->userType; throws fatal error because $result->result->userType is not set at the time it is being assign to _userType and variable does not exist, this causes to stop application from continuing to respond with next statement.
I had to patch this library with below to make it work.
$this->_userType = isset($result->result->userType)?$result->result->userType : null;
I would like to see if you have new updates to this repo that will work with latest php version and also apply check for variables check to make sure they are defined and initialized for those that are required.
The text was updated successfully, but these errors were encountered: