Deprecated: preg_replace()
« on: March 29, 2014, 07:39:39 PM »
Hi,

during crawling my page, i get more and more of this errors:

Code: [Select]
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /var/www/cpage1/sitemap_generator/pages/class.http.inc.php on line 105 Call Stack: 0.0009 327952 1. {main}() /var/www/cpage1/sitemap_generator/index.php:0 0.0156 754336 2. include('/var/www/cpage1/sitemap_generator/pages/page-crawlproc.inc.php') /var/www/cpage1/sitemap_generator/index.php:102 0.0219 1406992 3. SiteCrawler->UE6za0ucuUsehYAvdt() /var/www/cpage1/sitemap_generator/pages/page-crawlproc.inc.php:212 0.0221 1411184 4. HTTPFetch->fetch() /var/www/cpage1/sitemap_generator/pages/class.grab.inc.php:106 0.0222 1412984 5. HTTPFetch->MSSGMhIZDnQOguALfQm() /var/www/cpage1/sitemap_generator/pages/class.http.inc.php:114 0.0222 1413096 6. HTTPFetch->ELgkGbIsRXQp82oR6Qe() /var/www/cpage1/sitemap_generator/pages/class.http.inc.php:113 0.0222 1413696 7
Re: Deprecated: preg_replace()
« Reply #1 on: March 30, 2014, 05:22:36 PM »
Hello,

please make sure you are running the latest version of sitemap generator (v6.1)
Re: Deprecated: preg_replace()
« Reply #2 on: March 31, 2014, 09:17:10 PM »
I'm running "Standalone Sitemap Generator (PHP) v6.1, 2013-11-19" and get the problem, but is it possible, that there is maybe a problem with my PHP version (5.5)?
« Last Edit: March 31, 2014, 09:19:30 PM by marco1705 »
Re: Deprecated: preg_replace()
« Reply #3 on: April 01, 2014, 06:45:02 AM »
Hello,

please try to re-download and reinstall generator, in latest version that code has been updated to use preg_replace_callback, so there should be no issues.