ErrorException [ Deprecated ]: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead

MODPATH/multilang/classes/Multilang/URL.php [ 16 ]

11 		$path = preg_replace('~^[-a-z0-9+.]++://[^/]++/?~', '', ltrim($uri, '/'));
12 
13 		if ( ! UTF8::is_ascii($path))
14 		{
15 			// Encode all non-ASCII characters, as per RFC 1738
16 			$path = preg_replace('~([^/]+)~e', 'rawurlencode("$1")', $path);
17 		}
18 
19 		// Concat the URL
20 		return URL::base($protocol, $index).$path;
21 	}
  1. {PHP internal call} » Kohana_Core::error_handler(arguments)

  2. MODPATH/multilang/classes/Multilang/URL.php [ 16 ] » preg_replace(arguments)

  3. APPPATH/views/conteudo/partituras.php [ 28 ] » Multilang_URL::site(arguments)

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

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

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

  7. APPPATH/views/template.php [ 6 ] » Kohana_View->__toString()

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

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

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

  11. APPPATH/classes/Controller/Website.php [ 32 ] » Kohana_Controller_Template->after()

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

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

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

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

  16. MODPATH/multilang/classes/Multilang/Request.php [ 195 ] » Kohana_Request_Client->execute(arguments)

  17. DOCROOT/index.php [ 118 ] » Multilang_Request->execute()

Environment