userfrosting / UserFrosting-OAuth

OAuth Plugin for UserFrosting
5 stars 7 forks source link

Strict Standards problem #8

Open m8811163008 opened 8 years ago

m8811163008 commented 8 years ago

Hello This is my composer.json file

`{ "name": "userfrosting/UserFrosting", "type": "project", "description": "A secure, modern user management system for PHP.", "keywords": ["php user management", "usercake", "bootstrap"], "homepage": "https://github.com/userfrosting/UserFrosting", "license" : "MIT", "authors" : [ { "name": "Alexander Weissman", "homepage": "https://alexanderweissman.com" } ], "require": { "league/oauth2-facebook": "", "league/oauth2-linkedin":"", "league/oauth2-google":"", "league/oauth2-instagram":"", "birke/rememberme" : "1.0.4",
"illuminate/database" : "5.0.33", "league/csv": "8.1.", "nikic/php-parser" : "~1", "php" : ">=5.4.0", "phpmailer/phpmailer" : "5.2.10",
"twig/twig" : "~1.0", "slim/slim" : "2.
", "slim/views" : "0.1.3", "userfrosting/fortress" : "1.", "wikimedia/composer-merge-plugin": "~1" }, "extra": { "merge-plugin": { "include": [ "plugins//composer.json" ], "recurse": true, "replace": false, "merge-dev": true, "merge-extra": false } }, "autoload": { "classmap" : [ "controllers", "middleware", "models", "plugins" ] }

}

` I get this error after loading main page.What is problem? :( ** Strict Standards: Declaration of UserFrosting\User::fresh() should be compatible with Illuminate\Database\Eloquent\Model::fresh(array $with = Array) in C:\Users\Milad\Desktop\Software\Xamp\xampp\htdocs\userfrosting\models\database\User.php on line 570

Fatal error: Uncaught exception 'Twig_Error_Loader' with message 'The "C:\Users\Milad\Desktop\Software\Xamp\xampp\htdocs\userfrosting/plugins/UserFrosting-OAuth/templates" directory does not exist.' in C:\Users\Milad\Desktop\Software\Xamp\xampp\htdocs\userfrosting\vendor\twig\twig\lib\Twig\Loader\Filesystem.php:94 Stack trace: #0 C:\Users\Milad\Desktop\Software\Xamp\xampp\htdocs\userfrosting\plugins\UserFrosting-OAuth-master\config-plugin.php(64): Twig_Loader_Filesystem->addPath('C:\Users\Milad...') #1 C:\Users\Milad\Desktop\Software\Xamp\xampp\htdocs\userfrosting\initialize.php(287): require_once('C:\Users\Milad...') #2 C:\Users\Milad\Desktop\Software\Xamp\xampp\htdocs\public\index.php(10): require_once('C:\Users\Milad...') #3 {main} thrown in C:\Users\Milad\Desktop\Software\Xamp\xampp\htdocs\userfrosting\vendor\twig\twig\lib\Twig\Loader\Filesystem.php on line 94**