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

GET /actualidad

Line 248 in /var/www/html/fundacionkielsa/framework/core/Convert.php

Source

239 		$data = preg_replace("/<script([^A-Za-z0-9>][^>]*)?>.*?<\/script[^>]*>/is","", $data);
240 
241 		if($config['ReplaceBoldAsterisk']) {
242 			$data = preg_replace('%<(strong|b)( [^>]*)?>|</(strong|b)>%i','*',$data);
243 		}
244 		
245 		// Expand hyperlinks
246 		if(!$preserveLinks && !$config['PreserveLinks']) {
247 			$data = preg_replace('/<a[^>]*href\s*=\s*"([^"]*)">(.*?)<\/a>/ie', "Convert::html2raw('\\2').'[\\1]'",
248 				$data);
249 			$data = preg_replace('/<a[^>]*href\s*=\s*([^ ]*)>(.*?)<\/a>/ie', "Convert::html2raw('\\2').'[\\1]'", $data);
250 		}
251 	
252 		// Replace images with their alt tags
253 		if($config['ReplaceImagesWithAlt']) {
254 			$data = preg_replace('/<img[^>]*alt *= *"([^"]*)"[^>]*>/i', ' \\1 ', $data);

Trace

GET /actualidad

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

GET /actualidad

Line 249 in /var/www/html/fundacionkielsa/framework/core/Convert.php

Source

240 
241 		if($config['ReplaceBoldAsterisk']) {
242 			$data = preg_replace('%<(strong|b)( [^>]*)?>|</(strong|b)>%i','*',$data);
243 		}
244 		
245 		// Expand hyperlinks
246 		if(!$preserveLinks && !$config['PreserveLinks']) {
247 			$data = preg_replace('/<a[^>]*href\s*=\s*"([^"]*)">(.*?)<\/a>/ie', "Convert::html2raw('\\2').'[\\1]'",
248 				$data);
249 			$data = preg_replace('/<a[^>]*href\s*=\s*([^ ]*)>(.*?)<\/a>/ie', "Convert::html2raw('\\2').'[\\1]'", $data);
250 		}
251 	
252 		// Replace images with their alt tags
253 		if($config['ReplaceImagesWithAlt']) {
254 			$data = preg_replace('/<img[^>]*alt *= *"([^"]*)"[^>]*>/i', ' \\1 ', $data);
255 			$data = preg_replace('/<img[^>]*alt *= *([^ ]*)[^>]*>/i', ' \\1 ', $data);

Trace

GET /actualidad

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

GET /actualidad

Line 248 in /var/www/html/fundacionkielsa/framework/core/Convert.php

Source

239 		$data = preg_replace("/<script([^A-Za-z0-9>][^>]*)?>.*?<\/script[^>]*>/is","", $data);
240 
241 		if($config['ReplaceBoldAsterisk']) {
242 			$data = preg_replace('%<(strong|b)( [^>]*)?>|</(strong|b)>%i','*',$data);
243 		}
244 		
245 		// Expand hyperlinks
246 		if(!$preserveLinks && !$config['PreserveLinks']) {
247 			$data = preg_replace('/<a[^>]*href\s*=\s*"([^"]*)">(.*?)<\/a>/ie', "Convert::html2raw('\\2').'[\\1]'",
248 				$data);
249 			$data = preg_replace('/<a[^>]*href\s*=\s*([^ ]*)>(.*?)<\/a>/ie', "Convert::html2raw('\\2').'[\\1]'", $data);
250 		}
251 	
252 		// Replace images with their alt tags
253 		if($config['ReplaceImagesWithAlt']) {
254 			$data = preg_replace('/<img[^>]*alt *= *"([^"]*)"[^>]*>/i', ' \\1 ', $data);

Trace

GET /actualidad

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

GET /actualidad

Line 249 in /var/www/html/fundacionkielsa/framework/core/Convert.php

Source

240 
241 		if($config['ReplaceBoldAsterisk']) {
242 			$data = preg_replace('%<(strong|b)( [^>]*)?>|</(strong|b)>%i','*',$data);
243 		}
244 		
245 		// Expand hyperlinks
246 		if(!$preserveLinks && !$config['PreserveLinks']) {
247 			$data = preg_replace('/<a[^>]*href\s*=\s*"([^"]*)">(.*?)<\/a>/ie', "Convert::html2raw('\\2').'[\\1]'",
248 				$data);
249 			$data = preg_replace('/<a[^>]*href\s*=\s*([^ ]*)>(.*?)<\/a>/ie', "Convert::html2raw('\\2').'[\\1]'", $data);
250 		}
251 	
252 		// Replace images with their alt tags
253 		if($config['ReplaceImagesWithAlt']) {
254 			$data = preg_replace('/<img[^>]*alt *= *"([^"]*)"[^>]*>/i', ' \\1 ', $data);
255 			$data = preg_replace('/<img[^>]*alt *= *([^ ]*)[^>]*>/i', ' \\1 ', $data);

Trace

GET /actualidad

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

GET /actualidad

Line 248 in /var/www/html/fundacionkielsa/framework/core/Convert.php

Source

239 		$data = preg_replace("/<script([^A-Za-z0-9>][^>]*)?>.*?<\/script[^>]*>/is","", $data);
240 
241 		if($config['ReplaceBoldAsterisk']) {
242 			$data = preg_replace('%<(strong|b)( [^>]*)?>|</(strong|b)>%i','*',$data);
243 		}
244 		
245 		// Expand hyperlinks
246 		if(!$preserveLinks && !$config['PreserveLinks']) {
247 			$data = preg_replace('/<a[^>]*href\s*=\s*"([^"]*)">(.*?)<\/a>/ie', "Convert::html2raw('\\2').'[\\1]'",
248 				$data);
249 			$data = preg_replace('/<a[^>]*href\s*=\s*([^ ]*)>(.*?)<\/a>/ie', "Convert::html2raw('\\2').'[\\1]'", $data);
250 		}
251 	
252 		// Replace images with their alt tags
253 		if($config['ReplaceImagesWithAlt']) {
254 			$data = preg_replace('/<img[^>]*alt *= *"([^"]*)"[^>]*>/i', ' \\1 ', $data);

Trace

GET /actualidad

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

GET /actualidad

Line 249 in /var/www/html/fundacionkielsa/framework/core/Convert.php

Source

240 
241 		if($config['ReplaceBoldAsterisk']) {
242 			$data = preg_replace('%<(strong|b)( [^>]*)?>|</(strong|b)>%i','*',$data);
243 		}
244 		
245 		// Expand hyperlinks
246 		if(!$preserveLinks && !$config['PreserveLinks']) {
247 			$data = preg_replace('/<a[^>]*href\s*=\s*"([^"]*)">(.*?)<\/a>/ie', "Convert::html2raw('\\2').'[\\1]'",
248 				$data);
249 			$data = preg_replace('/<a[^>]*href\s*=\s*([^ ]*)>(.*?)<\/a>/ie', "Convert::html2raw('\\2').'[\\1]'", $data);
250 		}
251 	
252 		// Replace images with their alt tags
253 		if($config['ReplaceImagesWithAlt']) {
254 			$data = preg_replace('/<img[^>]*alt *= *"([^"]*)"[^>]*>/i', ' \\1 ', $data);
255 			$data = preg_replace('/<img[^>]*alt *= *([^ ]*)[^>]*>/i', ' \\1 ', $data);

Trace

Actualidad » Fundación Kielsa