Fatal error: Uncaught TypeError: Argument 2 passed to LaravelBox\LaravelBox::getFolderItems() must be of the type array, integer given, called in C:\UniServerZ\website\vendor\ryanvade\flysystem-box\src\BoxAdapter.php on line 214 and defined in C:\UniServerZ\website\vendor\ryanvade\laravel-box\src\LaravelBox\LaravelBox.php:184
Stack trace:
#0 C:\UniServerZ\website\vendor\ryanvade\flysystem-box\src\BoxAdapter.php(214): LaravelBox\LaravelBox->getFolderItems('/', 0, 1000)
#1 C:\UniServerZ\website\vendor\league\flysystem\src\Filesystem.php(271): FlysystemBox\BoxAdapter->listContents('', false)
#2 C:\UniServerZ\website\debug_sandbox.php(12): League\Flysystem\Filesystem->listContents()
#3 {main}
thrown in C:\UniServerZ\website\vendor\ryanvade\laravel-box\src\LaravelBox\LaravelBox.php on line 184
Changing BoxAdapter.php line 214 to
seems to fix this.