Closed fiammybe closed 2 years ago
@MekDrop could you have a look at this one please?
I will but I can't promise ASAP for right now.
sure, no problem!
still an issue, can't set up the database properly... Was able to fix by removing strtolower in vendor/phpexperts/laravel-env-polyfill/src/env-shim.php line 47. Just a temporary fix to get it working for me... Hopefully I won't run into any more errors in the future...
Thanks @Nokline for the idea!
And sorry for the delay. Some real live things prevented me to look faster into.
I created a pull request to this lib repo and I hope everything will soon be ok.
Describe the bug
I have the following error when configuring the db connection (page_dbconnection.php) :
Fatal error: Uncaught TypeError: strtolower() expects parameter 1 to be string, int given in /home/icmsdev/domains/impresscms.dev/vendor/phpexperts/laravel-env-polyfill/src/env-shim.php:47 Stack trace: #0 /home/icmsdev/domains/impresscms.dev/vendor/phpexperts/laravel-env-polyfill/src/env-shim.php(47): strtolower(0) #1 /home/icmsdev/domains/impresscms.dev/vendor/phpexperts/laravel-env-polyfill/src/env-shim.php(90): AAutoloadFirst\PHPExperts\env('DB_PCONNECT', 0) #2 /home/icmsdev/domains/impresscms.dev/core/Providers/DatabaseServiceProvider.php(42): env('DB_PCONNECT', 0) #3 [internal function]: ImpressCMS\Core\Providers\DatabaseServiceProvider->ImpressCMS\Core\Providers\{closure}() #4 /home/icmsdev/domains/impresscms.dev/vendor/league/container/src/Definition/Definition.php(239): call_user_func_array(Object(Closure), Array) #5 /home/icmsdev/domains/impresscms.dev/vendor/league/container/src/Definition/Definition.php(198): League\Container\Definition\Definition->resolveCallable(Object(Closure)) #6 /home/icmsdev/domains/impre in /home/icmsdev/domains/impresscms.dev/vendor/phpexperts/laravel-env-polyfill/src/env-shim.php on line 47
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Going to the next page of the installer
Server
Additional context
latest code as of 8 feb 2022