Error after moving to a new host
Hi, I’ve moved my modx site from one host to another and get error
Error: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead
Error type/ Nr.: - 8192
File: /xxx/manager/includes/document.parser.class.inc.php
Line: 900
Line 900 source: $documentSource= preg_replace($in, $out, $documentSource);
deactivate warnings (error_reporting(0);) doesn't work
Any help is appreciated.
Modx-Version is 1.0.2
[ed. note: dutchman last edited this post 11 years, 2 months ago.]
Yep, PHP 5.5
I have now 1.0.15
After the update I get the error (but not on the home page):
File: /manager/includes/document.parser.class.inc.php(957): eval () 'd code
Line: 412
Backtrace
1 DocumentParser-> executeParser ()
index.php on line 144
2 DocumentParser-> prepareResponse ()
manager / includes / document.parser.class.inc.php on line 1551
3 DocumentParser-> parseDocumentSource ()
manager / includes / document.parser.class.inc.php on line 1626
4 DocumentParser-> evalSnippets ()
manager / includes / document.parser.class.inc.php on line 1443
5 DocumentParser -> _ get_snip_result ()
manager / includes / document.parser.class.inc.php on line 1005
6 DocumentParser-> evalSnippet ()
manager / includes / document.parser.class.inc.php on line 1028
Also in the link appears "? PhpMyAdmin = 6d38623db3517985e0b33e6" (a link gives a correct result)
Can you tell me what's wrong?
Thanks in advance.
after re-updating everything works, but ?PhpMyAdmin=xxxxxxxxxx still appears at the end of each link.
any idea why?
Sorry, but I can't help you there - I am not a back-end developer