ErrorException [ Warning ]: in_array() expects parameter 2 to be array, null given

DOCROOT/non-public/inzite/classes/Inzite/ORM.php [ 861 ]

856 		$sObject = strtolower(str_replace('Model_', '', get_class($this)));
857 		$sObjectLocale = 'Locale' . strtolower($sObject);
858 
859 		$aLocaleTables = Session::instance()->get('cache.localetables');
860 		$bLocale = (bool)(class_exists('Model_' . $sObjectLocale) && in_array(strtolower($sObjectLocale),
861 				$aLocaleTables));
862 
863 		if ($iStatus === null) {
864 			$iStatus = [-1, 0, 1];
865 		}
866 
  1. {PHP internal call} » Kohana_Core::error_handler( arguments )

  2. DOCROOT/non-public/inzite/classes/Inzite/ORM.php [ 861 ] » in_array( arguments )

  3. DOCROOT/non-public/inzite/classes/Inzite/Controller/Redirect/Home.php [ 12 ] » Inzite_ORM->localized( )

  4. SYSPATH/classes/Kohana/Controller.php [ 71 ] » Inzite_Controller_Redirect_Home->before( )

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

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

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

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

  9. DOCROOT/public/index.php [ 94 ] » Kohana_Request->execute( )

Environment