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)

  5. SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()

  6. APPPATH/views/template1.php [ 111 ] » Kohana_View->__toString()

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

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

  9. SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()

  10. APPPATH/classes/Controller/Theme1.php [ 201 ] » Kohana_Controller_Template->after()

  11. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Theme1->after()

  12. {PHP internal call} » Kohana_Controller->execute()

  13. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 94 ] » ReflectionMethod->invoke(arguments)

  14. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  15. SYSPATH/classes/Kohana/Request.php [ 1000 ] » Kohana_Request_Client->execute(arguments)

  16. DOCROOT/index.php [ 123 ] » Kohana_Request->execute()

Environment

Nejnovější článek
Reklama