@extends('layouts.master') @section('content')
@lang('descriptions.vak.templates')
{!! Form::select('main-category', $main_category_list, $main_category, ['class' => 'form-control']) !!}
@if (count($sub_category_list) > 1)
{!! Form::select('sub-category', $sub_category_list, $sub_category, ['class' => 'form-control']) !!}
@endif
@foreach ($templates as $template)

Warning: Undefined variable $template in C:\Apache24_x64\htdocs\origin_cms\resources\views\events\templates.blade.php on line 27

Warning: Trying to access array offset on value of type null in C:\Apache24_x64\htdocs\origin_cms\resources\views\events\templates.blade.php on line 27

Warning: Undefined variable $template in C:\Apache24_x64\htdocs\origin_cms\resources\views\events\templates.blade.php on line 28

Warning: Trying to access array offset on value of type null in C:\Apache24_x64\htdocs\origin_cms\resources\views\events\templates.blade.php on line 28

Warning: Undefined variable $main_category in C:\Apache24_x64\htdocs\origin_cms\resources\views\events\templates.blade.php on line 29

Warning: Undefined variable $sub_category_list in C:\Apache24_x64\htdocs\origin_cms\resources\views\events\templates.blade.php on line 30

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in C:\Apache24_x64\htdocs\origin_cms\resources\views\events\templates.blade.php:30 Stack trace: #0 {main} thrown in C:\Apache24_x64\htdocs\origin_cms\resources\views\events\templates.blade.php on line 30