-
- 17 Posts
Getting a 500 error on the front end with PHP 7. It's fine with PHP 5.6.30 though. Nothing in the error log. MODX version 2.5.6
-
- 194 Posts
Did you get this error after upgrading to PHP 7 on existing MODX installation?
Codeplaza Webdesign: for professional websites at low cost
-
- 17 Posts
Yes it's an existing installation built on 2.5.6
-
- 194 Posts
Did you clear the cache by deleting all folders in CORE/CACHE folder after upgrading to PHP 7?
Codeplaza Webdesign: for professional websites at low cost
-
- 17 Posts
I didn't, but I just tried and it didn't make any difference.
-
- 24,544 Posts
This is a tough one. In my experience, the most likely cause is a plugin that contains a function that was previously deprecated and is now removed in PHP 7 or code that no longer works in PHP 7. It could also be a snippet, but that will usually leave something in the error log.
There's some PHP 7 compatibility info here:
http://php.net/manual/en/migration70.incompatible.php.
It might be easier to just disable all your plugins in the DB (modx_plugins table) -- and clear the cache manually again -- to see if that fixes it. If it does, activate them one at a time until it breaks to see which one is the culprit.