ErrorException [ Warning ]: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead

SYSPATH/classes/kohana/url.php [ 110 ]

105 		$path = preg_replace('~^[-a-z0-9+.]++://[^/]++/?~', '', trim($uri, '/'));
106 
107 		if ( ! UTF8::is_ascii($path))
108 		{
109 			// Encode all non-ASCII characters, as per RFC 1738
110 			$path = preg_replace('~([^/]+)~e', 'rawurlencode("$1")', $path);
111 		}
112 
113 		// Concat the URL
114 		return URL::base($protocol, $index).$path;
115 	}
  1. {PHP internal call} » Kohana_Core::error_handler()

  2. SYSPATH/classes/kohana/url.php [ 110 ] » preg_replace()

  3. SYSPATH/classes/kohana/html.php [ 127 ] » Kohana_URL::site()

  4. APPPATH/views/object/advertisements/customdefault_search.php [ 103 ] » Kohana_HTML::anchor()

  5. SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)

  6. SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture()

  7. APPPATH/views/object/advertisements/search.php [ 17 ] » Kohana_View->render()

  8. SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)

  9. SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture()

  10. APPPATH/views/object/advertisements/frontendView.php [ 9 ] » Kohana_View->render()

  11. SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)

  12. SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture()

  13. SYSPATH/classes/kohana/view.php [ 228 ] » Kohana_View->render()

  14. APPPATH/classes/appcontroller.php [ 232 ] » Kohana_View->__toString()

  15. APPPATH/classes/controller/object.php [ 117 ] » AppController->after()

  16. APPPATH/classes/controller/object/advertisements.php [ 536 ] » Controller_Object->after()

  17. {PHP internal call} » Controller_Object_Advertisements->after()

  18. SYSPATH/classes/kohana/request/client/internal.php [ 121 ] » ReflectionMethod->invoke()

  19. SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request()

  20. SYSPATH/classes/kohana/request.php [ 1196 ] » Kohana_Request_Client->execute()

  21. APPPATH/classes/controller/front.php [ 331 ] » Kohana_Request->execute()

  22. APPPATH/classes/controller/front.php [ 230 ] » Controller_Front->get_content_objects()

  23. APPPATH/classes/controller/front/front.php [ 13 ] » Controller_Front->action_index()

  24. {PHP internal call} » Controller_Front_Front->action_index()

  25. SYSPATH/classes/kohana/request/client/internal.php [ 118 ] » ReflectionMethod->invoke()

  26. SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request()

  27. SYSPATH/classes/kohana/request.php [ 1196 ] » Kohana_Request_Client->execute()

  28. DOCROOT/index.php [ 145 ] » Kohana_Request->execute()

Environment