DrudgeRajen / voyager-deployment-orchestrator

Voyager Deployment Orchestrator - Generate Seed Files for BREAD and table.
MIT License
55 stars 22 forks source link

PHP Warning: Use of undefined constant nationalities in config file #28

Closed arshohag closed 4 years ago

arshohag commented 4 years ago

PHP Warning: Use of undefined constant nationalities - assumed 'nationalities' (this will throw an Error in a future version of PHP) in /var/www/html/laravel/config/voyager-deployment-orchestrator.php on line 6

always showing this warning for any artisan commands.

DrudgeRajen commented 4 years ago

Hi @arshohag , Can you please mention versions of PHP, Laravel, and Voyager?

arshohag commented 4 years ago

Hi @arshohag , Can you please mention versions of PHP, Laravel, and Voyager?

PHP - ^7.3 Laravel - ^6.0 Voyager - ^1.2

If I comment out the table name in configuration file then error not appearing.

DrudgeRajen commented 4 years ago

@arshohag This issue is not related to this package. My guess is, you tried to update the config file with the table name but forget to wrap with an apostrophe.

arshohag commented 4 years ago

update your documentation

return [
    'tables' => [
        'users'
    ],
];

it is missing there

DrudgeRajen commented 4 years ago

Did you go through the documentation? It's on the Readme