Call to a member function in() on null

Why do I get errors below? How to solve it?

[2021-02-02 12:17:15] dev.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function in() on null in C:\MAMP\htdocs\statamic\core\Stache\Updater.php:232
Stack trace:
#0 C:\MAMP\htdocs\statamic\vendor\laravel\framework\src\Illuminate\Support\Collection.php(135): Statamic\Stache\Updater->Statamic\Stache\{closure}('title: Aduan\nfo...', 'collections/for...')
#1 C:\MAMP\htdocs\statamic\core\Stache\Updater.php(241): Illuminate\Support\Collection->each(Object(Closure))
#2 C:\MAMP\htdocs\statamic\core\Stache\Updater.php(182): Statamic\Stache\Updater->updateLocale('ms', Object(Statamic\Stache\Repository), Object(Illuminate\Support\Collection), Object(Illuminate\Support\Collection))
#3 C:\MAMP\htdocs\statamic\core\Stache\Updater.php(162): Statamic\Stache\Updater->updateLocaleAggregate('ms', Object(Statamic\Stache\Repository), Object(Illuminate\Support\Collection), Object(Illuminate\Support\Collection))
#4 C:\MAMP\htdocs\statamic\core\Stache\Updater.php(114): Statamic\Stache\Updater->updateLocalized()
#5 C:\MAMP\htdocs\statamic\core\Stache\UpdateManager.php(60): Statamic\Stache\Updater->update()
#6 C:\MAMP\htdocs\statamic\vendor\laravel\framework\src\Illuminate\Support\Collection.php(135): Statamic\Stache\UpdateManager->Statamic\Stache\{closure}(Object(Statamic\Stache\Drivers\EntriesDriver), 'entries')
#7 C:\MAMP\htdocs\statamic\core\Stache\UpdateManager.php(68): Illuminate\Support\Collection->each(Object(Closure))
#8 C:\MAMP\htdocs\statamic\core\Stache\Manager.php(88): Statamic\Stache\UpdateManager->update()
#9 C:\MAMP\htdocs\statamic\core\Stache\Manager.php(77): Statamic\Stache\Manager->doUpdate()
#10 C:\MAMP\htdocs\statamic\core\Providers\StacheServiceProvider.php(173): Statamic\Stache\Manager->update()
#11 [internal function]: Statamic\Providers\StacheServiceProvider->boot(Object(Illuminate\Http\Request))
#12 C:\MAMP\htdocs\statamic\vendor\laravel\framework\src\Illuminate\Container\Container.php(507): call_user_func_array(Array, Array)
#13 C:\MAMP\htdocs\statamic\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(734): Illuminate\Container\Container->call(Array)
#14 C:\MAMP\htdocs\statamic\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(717): Illuminate\Foundation\Application->bootProvider(Object(Statamic\Providers\StacheServiceProvider))
#15 [internal function]: Illuminate\Foundation\Application->Illuminate\Foundation\{closure}(Object(Statamic\Providers\StacheServiceProvider), 27)
#16 C:\MAMP\htdocs\statamic\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(718): array_walk(Array, Object(Closure))
#17 C:\MAMP\htdocs\statamic\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\BootProviders.php(17): Illuminate\Foundation\Application->boot()
#18 C:\MAMP\htdocs\statamic\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(203): Illuminate\Foundation\Bootstrap\BootProviders->bootstrap(Object(Statamic\Application))
#19 C:\MAMP\htdocs\statamic\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php(208): Illuminate\Foundation\Application->bootstrapWith(Array)
#20 C:\MAMP\htdocs\statamic\core\Console\Kernel.php(76): Illuminate\Foundation\Console\Kernel->bootstrap()
#21 C:\MAMP\htdocs\statamic\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php(105): Statamic\Console\Kernel->bootstrap()
#22 C:\MAMP\htdocs\please(48): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 {main}
>>>>>>> Unanswered <<<<<<<
0 Replies
0 Followers