Error after upgrading from Agenda 1.2.1 to 1.3.2

I have tried to update Agenda from 1.2.1 to 1.3.2 but after by MODX website was down (blank page).
I’m running MODX 2.8.3 with php 8.0.15
Server side log give me this :

[Thu Feb 24 10:51:24.003222 2022] [proxy_fcgi:error] [pid 3528612:tid 139726845613824] [client 90.51.73.231:0] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: Carbon\\Carbon::setLocalTranslator(): Argument #1 ($translator) must be of type Symfony\\Component\\Translation\\TranslatorInterface, Carbon\\Translator given, called in /home/LCL/web/domain.eu/core/components/agenda/vendor/nesbot/carbon/src/Carbon/Traits/Localization.php on line 457 and defined in /home/LCL/web/domain.eu/core/components/agenda/vendor/nesbot/carbon/src/Carbon/Traits/Localization.php:156\nStack trace:\n#0 /home/LCL/web/domain.eu/core/components/agenda/vendor/nesbot/carbon/src/Carbon/Traits/Localization.php(457): Carbon\\Carbon->setLocalTranslator()\n#1 /home/LCL/web/domain.eu/core/components/agenda/src/Agenda.php(482): Carbon\\Carbon->locale()\n#2 /home/LCL/web/domain.eu/core/components/agenda/model/agenda/agendaevents.class.php(371): TreehillStudio\\Agenda\\Agenda::formatDateTimerange()\n#3 /home/LCL/web/domain.eu/core/components/agenda/src/Snippets/ListSnippet.php(145): AgendaEvents->toExtendedArray()\n#4 /home/LCL/web/domain...'

I had to get back a MODX backup to make it works again, the back forward to Agenda 1.2.1 was not efficient.

I will have a look on this today.

This is a very nasty symfony update from 4 to 5 issue, which does not occur locally, because the update will remove the not needed files in the vendor folder locally. They are not deleted on your installation with the transport package. I will make sure in all my packages that the old vendor files are removed before the new ones are installed.

Super :+1:

Agenda 1.3.3 is committed and has to be released by Mark

Thanks a lot for your reactivity !
The package was updated without the big crash !
However, I still have the location-err-save when saving a new event or editing an existing one :frowning:

Which PHP Version do you use? Can you send me a table dump of that agenda location table withou the data?

PHP Version 8.0.15

And the dump :

-- phpMyAdmin SQL Dump
-- version 5.1.3
-- https://www.phpmyadmin.net/
--
-- Hôte : localhost:3306
-- Généré le : ven. 25 fév. 2022 à 18:00
-- Version du serveur : 10.5.13-MariaDB-1:10.5.13+maria~focal
-- Version de PHP : 7.4.27

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Base de données : `LCL_domain`
--

-- --------------------------------------------------------

--
-- Structure de la table `modx_agenda_locations`
--

CREATE TABLE `modx_agenda_locations` (
 `id` int(10) UNSIGNED NOT NULL,
 `name` varchar(255) NOT NULL DEFAULT '',
 `alias` varchar(255) NOT NULL DEFAULT '',
 `address` text DEFAULT NULL,
 `description` text DEFAULT NULL,
 `resource_id` int(10) UNSIGNED DEFAULT NULL,
 `lat` decimal(10,6) DEFAULT NULL,
 `lng` decimal(10,6) DEFAULT NULL,
 `zoom` int(3) DEFAULT NULL,
 `center_lat` decimal(10,6) DEFAULT NULL,
 `center_lng` decimal(10,6) DEFAULT NULL,
 `show` tinyint(1) UNSIGNED NOT NULL DEFAULT 1,
 `active` tinyint(1) UNSIGNED NOT NULL DEFAULT 1,
 `sortindex` int(10) UNSIGNED NOT NULL DEFAULT 0,
 `createdon` int(10) UNSIGNED NOT NULL DEFAULT 0,
 `createdby` int(10) UNSIGNED NOT NULL DEFAULT 0,
 `editedon` int(10) UNSIGNED NOT NULL DEFAULT 0,
 `editedby` int(10) UNSIGNED NOT NULL DEFAULT 0,
 `extended` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Index pour les tables déchargées
--

--
-- Index pour la table `modx_agenda_locations`
--
ALTER TABLE `modx_agenda_locations`
 ADD PRIMARY KEY (`id`),
 ADD KEY `resource_id` (`resource_id`);

--
-- AUTO_INCREMENT pour les tables déchargées
--

--
-- AUTO_INCREMENT pour la table `modx_agenda_locations`
--
ALTER TABLE `modx_agenda_locations`
 MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;