voyager: Undefined property: stdClass::$column_name

  • Laravel Version: 5.4.31
  • Voyager Version: 0.11.14
  • PHP Version: PHP 7.1.4-1+deb.sury.org~xenial+1 (cli) (built: Apr 11 2017 22:12:32) ( NTS )
  • Database Driver & Version: mysql Ver 8.0.2-dmr for Linux on x86_64 (MySQL Community Server (GPL))

Description:

laradock@d347871da600:/var/www/laravel/voyager$ php artisan voyager:install --with-dummy
Publishing the Voyager assets, database, and config files
Copied Directory [/vendor/tcg/voyager/publishable/assets] To [/public/vendor/tcg/voyager/assets]
Copied Directory [/vendor/tcg/voyager/publishable/database/migrations] To [/database/migrations]
Copied Directory [/vendor/tcg/voyager/publishable/database/seeds] To [/database/seeds]
Copied Directory [/vendor/tcg/voyager/publishable/demo_content] To [/storage/app/public]
Copied File [/vendor/tcg/voyager/publishable/config/voyager.php] To [/config/voyager.php]
Publishing complete.
Copied File [/vendor/intervention/image/src/config/config.php] To [/config/image.php]
Publishing complete.
Migrating the database tables into your application

                                              
  [ErrorException]                            
  Undefined property: stdClass::$column_name  

Steps To Reproduce:

I just try to install voyager on clean laravel project. But I have such error

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 17 (1 by maintainers)

Most upvoted comments

found a temporary fix from the following laravel pull request https://github.com/laravel/framework/pull/21037 so basically in MySqlProcessor.php change column_name to upper case

It is not user’s error. You can try it yourself in laradock. And you will see same error.