ErrorException [ Deprecated ]: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated

APPPATH/bootstrap.php [ 284 ]

279 							{
280 								$page = str_replace('page-', '', $id);
281 								$id = NULL;
282 							}
283 							
284 							$uri['id'] = preg_replace('/[^a-zA-Z0-9_+-]/s', '', $id);
285 						}
286 						
287 						if ( ! empty($page))
288 							$uri['page'] = preg_replace('/[^0-9]/s', '', $page);
289 						
  1. {PHP internal call} » Kohana_Core::error_handler()

  2. APPPATH/bootstrap.php [ 284 ] » preg_replace()

  3. SYSPATH/classes/Kohana/Route.php [ 464 ] » {closure}()

  4. SYSPATH/classes/Kohana/Request.php [ 479 ] » Kohana_Route->matches()

  5. SYSPATH/classes/Kohana/Request.php [ 952 ] » Kohana_Request::process()

  6. MODPATH/var/www/html/djflea.com/index.php [ 114 ] » Kohana_Request->execute()

Environment