ErrorException [ Warning ]: sizeof(): Parameter must be an array or an object that implements Countable

MODPATH/sponsoring/views/sponsoring/form.php [ 12 ]

 7 			<section class="content content-boxed">
 8 				
 9 				<?php echo $_custom_header; ?>
10 				
11 				<?php
12 				$free_slots		= $config['limit_adverts'] - sizeof($sdata);
13 				
14 				if($free_slots == 5)
15 				{
16 					$text = "je volných 5 pozic";
17 				}
  1. {PHP internal call} » Kohana_Core::error_handler(arguments)

  2. MODPATH/sponsoring/views/sponsoring/form.php [ 12 ] » sizeof(arguments)

  3. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

  4. SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)