Strict Standards: Declaration of TrivialOAuthDataStore::new_request_token() should be compatible with OAuthDataStore::new_request_token($consumer, $callback = NULL) in/usr/local/designtools/wizard/resources/TrivialOAuthDataStore.php on line 0
Strict Standards: Declaration of TrivialOAuthDataStore::new_access_token() should be compatible with OAuthDataStore::new_access_token($token, $consumer, $verifier = NULL) in/usr/local/designtools/wizard/resources/TrivialOAuthDataStore.php on line 0
I modified those lines to the code below to match OAuth.php and no longer get the errors:
function new_request_token($consumer, $callback = null) {}
function new_access_token($token, $consumer, $verifier = null) {}
The code in lines 38-44 of https://github.com/CIDI/kennethware-2.0/blob/master/wizard/resources/TrivialOAuthDataStore.php function declarations are incorrect and throws these errors:
Strict Standards: Declaration of TrivialOAuthDataStore::new_request_token() should be compatible with OAuthDataStore::new_request_token($consumer, $callback = NULL) in/usr/local/designtools/wizard/resources/TrivialOAuthDataStore.php on line 0
Strict Standards: Declaration of TrivialOAuthDataStore::new_access_token() should be compatible with OAuthDataStore::new_access_token($token, $consumer, $verifier = NULL) in/usr/local/designtools/wizard/resources/TrivialOAuthDataStore.php on line 0
I modified those lines to the code below to match OAuth.php and no longer get the errors:
See attached for the updated file that I'm using.
TrivialOAuthDataStore.zip