luceos I am getting an HTTP Error 500 when I try to access the http://dev.flarum/flarum/public/ (that is a local domain). In the console, I see dev.flarum/ Failed to load resource: the server responded with a status of 500 (Internal Server Error)
php flarum info
returns
PHP Fatal error: Uncaught TypeError: Argument 1 passed to Illuminate\Database\Connectors\ConnectionFactory::make() must be of the type array, null given, called in /var/www/flarumdev/flarum/vendor/flarum/core/src/Database/DatabaseServiceProvider.php on line 28 and defined in /var/www/flarumdev/flarum/vendor/illuminate/database/Connectors/ConnectionFactory.php:43
Stack trace:
#0 /var/www/flarumdev/flarum/vendor/flarum/core/src/Database/DatabaseServiceProvider.php(28): Illuminate\Database\Connectors\ConnectionFactory->make(NULL)
#1 /var/www/flarumdev/flarum/vendor/illuminate/container/Container.php(749): Flarum\Database\DatabaseServiceProvider->Flarum\Database\{closure}(Object(Flarum\Foundation\Application), Array)
#2 /var/www/flarumdev/flarum/vendor/illuminate/container/Container.php(631): Illuminate\Container\Container->build(Object(Closure))
#3 /var/www/flarumdev/flarum/vendor/illuminate/container/Container.php(586): Illuminate\Container\Container->resolve('flarum.db', Array)
#4 /var/www/flarumdev/flarum/vendor/flarum/core/s in /var/www/flarumdev/flarum/vendor/illuminate/database/Connectors/ConnectionFactory.php on line 43
Is my PHP version out of date? php -v
returns
PHP 7.0.25-0ubuntu0.16.04.1 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.25-0ubuntu0.16.04.1, Copyright (c) 1999-2017, by Zend Technologies
apache2 -v
returns
Server version: Apache/2.4.18 (Ubuntu)
Server built: 2017-09-18T15:09:02
Any ideas as to what's up?