9.0.1 contains a number of bug fixes, many of which could make upgrading older sites difficult, bug fixes around themes using the older theme customizer, problems running on PHP 8, problems installing Concrete via composer on PHP 8, and much more. The full release notes are here:
Additionally, we’re also making 8.5.7 available. 8.5.7 features some important bug fixes to the auto-updater, some security fixes, and other small bug fixes. It is highly recommended for those running version 8.
We haven’t put the 9.0 releases in the auto updater yet. Ideally we’d have a system where we could seed 9.0.1 to 9.0 users without offering it to all 8.5.x users but we aren’t quite there yet unfortunately
I always upgrade by replacing the concrete folder. It takes 1 min and never failed. I find it’s the easiest and fastest way. On both home computer and remote hosting.
Ok. I understand.
It seemed like a natural way to update, and I just noticed that it didn’t work. Thanks to this, we all got a tip on how to do it faster;)
I’m still having ‘undefined variable’ issues on 9.0.1. Even the upgrade landing page errors out with an undefined variable <?=$status?> .It upgrades but crashes after the upgrade. Is nobody else seeing this in:
\concrete\views\frontend\upgrade.php
I also had to add an “if (!isset($fileVersion)) {” at line 105 of:
\concrete\controllers\single_page\dashboard\files\details.php
And I also had to add an “if (isset($highlightResults)” in:
\concrete\single_pages\dashboard\files\search.php
I’m on Xampp 8.0.12. Apparently undefined variables are now a warning in PHP8 where they used to be just a notice but I’ve changed my error_reporting to ignore warnings but it still crashes a lot on undefined variables.
Yeah, I noticed this too. I think you may have just removed warnings incorrectly? I know because it took me awhile to do it right under PHP 8.
We do want to try and fix this under PHP 8 because I don’t want to ignore warning errors forever, but I found this code works to suppress the errors under PHP8. I’m taking this from my post in GitHub:
Just open index.php in the webroot, and above the line:
This is the standard Concrete error reporting setting – but minus warning errors.
Again, I’m not advocating this as a long term fix; we’d be happy to get pull requests to fix these warning errors in the core. But for those who’d like to get things working again today in a backward-compatible way, this should do the trick.