Fatal error: Uncaught ErrorException: Trying to get property 'id' of non-object in /var/www/onclinic/data/www/onclinic.ua/app/Http/Livewire/Frontend/Layout/Header.php:125 Stack trace: #0 /var/www/onclinic/data/www/onclinic.ua/app/Http/Livewire/Frontend/Layout/Header.php(125): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError() #1 /var/www/onclinic/data/www/onclinic.ua/app/Http/Livewire/Frontend/Layout/Header.php(41): App\Http\Livewire\Frontend\Layout\Header->shouldReplacePhones() #2 /var/www/onclinic/data/www/onclinic.ua/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\Http\Livewire\Frontend\Layout\Header->mount() #3 /var/www/onclinic/data/www/onclinic.ua/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() #4 /var/www/onclinic/data/www/onclinic.ua/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure() #5 /var/www/onclinic/data/www/onclinic.ua/vend in /var/www/onclinic/data/www/onclinic.ua/app/Http/Livewire/Frontend/Layout/Header.php on line 125

Fatal error: Uncaught ErrorException: Trying to get property 'id' of non-object in /var/www/onclinic/data/www/onclinic.ua/app/Http/Livewire/Frontend/Layout/Header.php:125 Stack trace: #0 /var/www/onclinic/data/www/onclinic.ua/app/Http/Livewire/Frontend/Layout/Header.php(125): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError() #1 /var/www/onclinic/data/www/onclinic.ua/app/Http/Livewire/Frontend/Layout/Header.php(41): App\Http\Livewire\Frontend\Layout\Header->shouldReplacePhones() #2 /var/www/onclinic/data/www/onclinic.ua/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\Http\Livewire\Frontend\Layout\Header->mount() #3 /var/www/onclinic/data/www/onclinic.ua/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() #4 /var/www/onclinic/data/www/onclinic.ua/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure() #5 /var/www/onclinic/data/www/onclinic.ua/vend in /var/www/onclinic/data/www/onclinic.ua/app/Http/Livewire/Frontend/Layout/Header.php on line 125