-
-
Notifications
You must be signed in to change notification settings - Fork 835
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
db seed error #67
Comments
i comment the line 61, run php artisan db:seed, error:
But the datas has been seeded, and the falrum can run success.:)!, There are another some issues about config/app.php, must comment these lines:
then run
can setup the flarum success.. |
This should be fixed now. This one time, please destroy the Vagrant VM and re-clone the repository (while following the updated installation instructions at https://github.com/flarum/flarum#installation - please note the |
Well, good solution, 3ks! |
When i install flarum, i run 'php artisan flarum:seed', throw error below:
PHP Fatal error: Access to undeclared static property: Flarum\Core\Models\Post::$type in /vagrant/system/core/src/Core/Models/Post.php on line 61
well, change to :$post->type = $post::$types; on line61,
Go on running: 'php artisan flarum:seed, throw the error:
preg_replace(): Parameter mismatch, pattern is a string while replacement is an array ,
In the error logs:
It's a sql insert error..
The text was updated successfully, but these errors were encountered: