laravel-langman-gui
laravel-langman-gui copied to clipboard
Initial scan fails with "array_key_exists() expects parameter 2 to be array, null given"
On the initial scan of a fresh install, I got this error:
local.ERROR: array_key_exists() expects parameter 2 to be array, null given {"exception":"[object] (ErrorException(code: 0): array_key_exists() expects parameter 2 to be array, null given at /home/ubuntu/leadingre_com/vendor/themsaid/laravel-langman-gui/src/Manager.php:96) [stacktrace]
Once I manually created the first key and translation, the scan worked and found all the existing keys in my views. Adding $keys = [] beneath the scan $output = []; should solve it.