Fatal error: Uncaught Error: Call to a member function toArray() on null in /var/www/print_house/data/sborka.run/CMS/app/Basic/Models/City.php:86
Stack trace:
#0 /var/www/print_house/data/sborka.run/CMS/vendor/illuminate/database/Eloquent/Builder.php(955): app\Basic\Models\City->scopeFindSlug(Object(Illuminate\Database\Eloquent\Builder), 'semikarakorsk-4...')
#1 /var/www/print_house/data/sborka.run/CMS/vendor/illuminate/database/Eloquent/Builder.php(1279): Illuminate\Database\Eloquent\Builder->callScope(Array, Array)
#2 /var/www/print_house/data/sborka.run/CMS/vendor/illuminate/database/Eloquent/Model.php(1477): Illuminate\Database\Eloquent\Builder->__call('findSlug', Array)
#3 /var/www/print_house/data/sborka.run/CMS/vendor/illuminate/database/Eloquent/Model.php(1489): Illuminate\Database\Eloquent\Model->__call('findSlug', Array)
#4 /var/www/print_house/data/sborka.run/CMS/app/Basic/Controllers/ProductsController.php(406): Illuminate\Database\Eloquent\Model::__callStatic('findSlug', Array)
#5 /var/www/print_house/data/sb in /var/www/print_house/data/sborka.run/CMS/app/Basic/Models/City.php on line 86