Anomalie #1921
ferméPossible error copying existing mailing
100%
Description
Bonjour,
Lorsque je clique sur l’icône permettant d'utiliser un envoi comme gabarit pour créer un nouvel envoi, j'obtiens le message suivant :
Détails
Type : TypeError
Code : 0
Message : Galette\Core\Mailing::copyAttachments(): Argument #1 ($id) must be of type int, string given, called in /home3/menfin/public_html/shas/galette/lib/Galette/Core/Mailing.php on line 209
Fichier : /home3/menfin/public_html/shas/galette/lib/Galette/Core/Mailing.php
Ligne : 228
Trace
#0 /home3/menfin/public_html/shas/galette/lib/Galette/Core/Mailing.php(209): Galette\Core\Mailing->copyAttachments()
#1 /home3/menfin/public_html/shas/galette/lib/Galette/Core/MailingHistory.php(294): Galette\Core\Mailing->loadFromHistory()
#2 /home3/menfin/public_html/shas/galette/lib/Galette/Controllers/Crud/MailingsController.php(108): Galette\Core\MailingHistory::loadFrom()
#3 [internal function]: Galette\Controllers\Crud\MailingsController->add()
#4 /home3/menfin/public_html/shas/galette/vendor/php-di/invoker/src/Invoker.php(74): call_user_func_array()
#5 /home3/menfin/public_html/shas/galette/vendor/php-di/slim-bridge/src/ControllerInvoker.php(45): Invoker\Invoker->call()
#6 /home3/menfin/public_html/shas/galette/vendor/slim/slim/Slim/Routing/Route.php(363): DI\Bridge\Slim\ControllerInvoker->_invoke()
#7 /home3/menfin/public_html/shas/galette/lib/Galette/Middleware/Authenticate.php(166): Slim\Routing\Route->handle()
#8 /home3/menfin/public_html/shas/galette/vendor/slim/slim/Slim/MiddlewareDispatcher.php(280): Galette\Middleware\Authenticate->_invoke()
#9 /home3/menfin/public_html/shas/galette/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#10 /home3/menfin/public_html/shas/galette/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): Slim\MiddlewareDispatcher->handle()
#11 /home3/menfin/public_html/shas/galette/vendor/slim/slim/Slim/Routing/Route.php(321): Slim\MiddlewareDispatcher->handle()
#12 /home3/menfin/public_html/shas/galette/vendor/slim/slim/Slim/Routing/RouteRunner.php(74): Slim\Routing\Route->run()
#13 /home3/menfin/public_html/shas/galette/vendor/akrabat/rka-slim-session-middleware/RKA/SessionMiddleware.php(66): Slim\Routing\RouteRunner->handle()
#14 /home3/menfin/public_html/shas/galette/vendor/slim/slim/Slim/MiddlewareDispatcher.php(129): RKA\SessionMiddleware->process()
#15 /home3/menfin/public_html/shas/galette/vendor/slim/csrf/src/Guard.php(482): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#16 /home3/menfin/public_html/shas/galette/vendor/slim/slim/Slim/MiddlewareDispatcher.php(129): Slim\Csrf\Guard->process()
#17 /home3/menfin/public_html/shas/galette/lib/Galette/Middleware/Language.php(68): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#18 /home3/menfin/public_html/shas/galette/vendor/slim/slim/Slim/MiddlewareDispatcher.php(177): Galette\Middleware\Language->_invoke()
#19 /home3/menfin/public_html/shas/galette/lib/Galette/Middleware/Telemetry.php(69): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#20 /home3/menfin/public_html/shas/galette/vendor/slim/slim/Slim/MiddlewareDispatcher.php(177): Galette\Middleware\Telemetry->_invoke()
#21 /home3/menfin/public_html/shas/galette/includes/main.inc.php(177): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#22 /home3/menfin/public_html/shas/galette/vendor/slim/slim/Slim/MiddlewareDispatcher.php(280): Closure->{closure}()
#23 /home3/menfin/public_html/shas/galette/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php(45): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#24 /home3/menfin/public_html/shas/galette/vendor/slim/slim/Slim/MiddlewareDispatcher.php(129): Slim\Middleware\RoutingMiddleware->process()
#25 /home3/menfin/public_html/shas/galette/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(77): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#26 /home3/menfin/public_html/shas/galette/vendor/slim/slim/Slim/MiddlewareDispatcher.php(129): Slim\Middleware\ErrorMiddleware->process()
#27 /home3/menfin/public_html/shas/galette/vendor/slim/twig-view/src/TwigMiddleware.php(117): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#28 /home3/menfin/public_html/shas/galette/vendor/slim/slim/Slim/MiddlewareDispatcher.php(129): Slim\Views\TwigMiddleware->process()
#29 /home3/menfin/public_html/shas/galette/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
#30 /home3/menfin/public_html/shas/galette/vendor/slim/slim/Slim/App.php(209): Slim\MiddlewareDispatcher->handle()
#31 /home3/menfin/public_html/shas/galette/vendor/slim/slim/Slim/App.php(193): Slim\App->handle()
#32 /home3/menfin/public_html/shas/galette/includes/main.inc.php(209): Slim\App->run()
#33 /home3/menfin/public_html/shas/galette/webroot/index.php(50): require_once('/home3/menfin/p...')
#34 {main}
Mis à jour par Johan Cwiklinski il y a 12 jours
- Sujet changé de Gestion des envois à Possible error copying existing mailing
- Catégorie mis à Emails
- Statut changé de Nouveau à In Progress
- Assigné à mis à Johan Cwiklinski
- Version cible mis à 1.2.0
Mis à jour par Johan Cwiklinski il y a 12 jours
- Statut changé de In Progress à Résolu
- % réalisé changé de 0 à 100
Appliqué par commit 9dbb78a137a7037792675c3a6816578785950deb.