Diese Meldungen habe ich im Log ca. alle 3 Tage. Wenn ich das anklicke bekomme ich nicht wirklich Infos mit denen ICH was anfangen kann. Sollte man da was machen?
@marmoles Die Spalte "product_image_list_image_text_value" in der Tabelle "product_image_list_image_text" darf nicht leer sein. Setze hier für diese Felder einen Text ein, damit der Fehler nicht mehr auftritt. Code: UPDATE product_image_list_image_text SET product_image_list_image_text_value = "mein Text" WHERE product_image_list_image_text_value = "";
Du wolltest es so : Code: Webmozart\Assert\InvalidArgumentException message: ImageTitle can't be an empty string code: 0 file: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/vendor/webmozart/assert/src/Assert.php line: 2060 trace: 0: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/vendor/webmozart/assert/src/Assert.php:797 │ static::reportInvalidArgument(\sprintf( │ $message ?: 'Expected a different value than %s.', ├─ static::valueToString($expect) │ )); │ } 1: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/vendor/webmozart/assert/src/Assert.php:68 │ { │ static::string($value, $message); ├─ static::notEq($value, '', $message); │ } │ 2: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/GambioAdmin/Modules/ImageList/Model/ValueObjects/ImageTitle.php:47 │ 'Given language code does not match two digit ISO format. Got: %s'); │ ├─ Assert::stringNotEmpty($text, 'ImageTitle can\'t be an empty string'); │ │ return new static($languageCode, $text); 3: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/GambioAdmin/Modules/ImageList/Services/ImageListFactory.php:197 │ public function createImageTitle(string $languageCode, string $text): ImageTitle │ { ├─ return ImageTitle::create($languageCode, $text); │ } │ 4: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/GambioAdmin/Modules/ImageList/App/Data/ImageListMapper.php:111 │ foreach ($image['product_image_list_image_texts']['title'] as $languageCode => $title) { │ ├─ $titles[] = $this->factory->createImageTitle($languageCode, $title); │ } │ } 5: Gambio\Admin\Modules\ImageList\App\Data\ImageListMapper::mapImage 6: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/GambioAdmin/Modules/ImageList/App/Data/ImageListMapper.php:89 │ private function mapImages(array $images): Images │ { ├─ $images = array_map([$this, 'mapImage'], $images); │ │ return $this->factory->createImages(...$images); 7: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/GambioAdmin/Modules/ImageList/App/Data/ImageListMapper.php:75 │ $listId = $this->factory->createImageListId((int)$imageList['product_image_list_id']); │ $listName = $this->factory->createImageListName($imageList['product_image_list_name']); ├─ $images = $this->mapImages($imageList['product_image_list_images']); │ $newImages = $this->factory->createNewImages(); │ 8: Gambio\Admin\Modules\ImageList\App\Data\ImageListMapper::mapImageList 9: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/GambioAdmin/Modules/ImageList/App/Data/ImageListMapper.php:60 │ public function mapImageLists(array $imageLists): ImageLists │ { ├─ $lists = array_map([$this, 'mapImageList'], $imageLists); │ │ return ImageLists::create(...$lists); 10: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/GambioAdmin/Modules/ImageList/App/ImageListRepository.php:119 │ public function getAllImageLists(): ImageLists │ { ├─ return $this->mapper->mapImageLists($this->reader->getAllImageLists()); │ } │ 11: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/GambioAdmin/Modules/ImageList/App/ImageListReadService.php:69 │ public function getAllImageLists(): ImageLists │ { ├─ return $this->repository->getAllImageLists(); │ } │ } 12: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/GambioAdmin/Modules/ImageList/App/Actions/Json/FetchAllImageListsAction.php:48 │ public function handle(Request $request, Response $response): Response │ { ├─ $imageLists = $this->service->getAllImageLists(); │ $responseData = array_map(static function(array $data): array { │ unset($data['newValues']); 13: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/GambioCore/Application/Http/AbstractAction.php:76 │ public function __invoke(Request $request, Response $response): Response │ { ├─ return $this->handle($request, $response); │ } │ 14: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php:43 │ } │ ├─ return $callable($request, $response, $routeArguments); │ } │ } 15: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/vendor/slim/slim/Slim/Routing/Route.php:384 │ │ $response = $this->responseFactory->createResponse(); ├─ return $strategy($callable, $request, $response, $this->arguments); │ } │ } 16: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/vendor/slim/slim/Slim/MiddlewareDispatcher.php:81 │ public function handle(ServerRequestInterface $request): ResponseInterface │ { ├─ return $this->tip->handle($request); │ } │ 17: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/vendor/slim/slim/Slim/MiddlewareDispatcher.php:81 │ public function handle(ServerRequestInterface $request): ResponseInterface │ { ├─ return $this->tip->handle($request); │ } │ 18: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/vendor/slim/slim/Slim/Routing/Route.php:341 │ } │ ├─ return $this->middlewareDispatcher->handle($request); │ } │ 19: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/vendor/slim/slim/Slim/Routing/RouteRunner.php:84 │ /** @var Route $route */ │ $route = $request->getAttribute(RouteContext::ROUTE); ├─ return $route->run($request); │ } │ } 20: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php:59 │ { │ $request = $this->performRouting($request); ├─ return $handler->handle($request); │ } │ 21: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/vendor/slim/slim/Slim/MiddlewareDispatcher.php:147 │ public function handle(ServerRequestInterface $request): ResponseInterface │ { ├─ return $this->middleware->process($request, $this->next); │ } │ }; 22: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php:107 │ { │ try { ├─ return $handler->handle($request); │ } catch (Throwable $e) { │ return $this->handleException($request, $e); 23: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/vendor/slim/slim/Slim/MiddlewareDispatcher.php:147 │ public function handle(ServerRequestInterface $request): ResponseInterface │ { ├─ return $this->middleware->process($request, $this->next); │ } │ }; 24: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/GambioAdmin/Application/Middleware/AuthMiddleware.php:87 │ } │ ├─ return $handler->handle($request); │ } │ 25: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/vendor/slim/slim/Slim/MiddlewareDispatcher.php:209 │ if ($this->callableResolver instanceof AdvancedCallableResolverInterface) { │ $callable = $this->callableResolver->resolveMiddleware($this->middleware); ├─ return $callable($request, $this->next); │ } │ 26: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/GambioAdmin/Application/Middleware/SecurityHeadersMiddleware.php:54 │ public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface │ { ├─ $response = $handler->handle($request); │ $config = 'SEND_X_FRAME_OPTIONS_SAMEORIGIN_HEADER'; │ 27: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/vendor/slim/slim/Slim/MiddlewareDispatcher.php:209 │ if ($this->callableResolver instanceof AdvancedCallableResolverInterface) { │ $callable = $this->callableResolver->resolveMiddleware($this->middleware); ├─ return $callable($request, $this->next); │ } │ 28: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/GambioAdmin/Application/Middleware/AdminActivityLogMiddleware.php:54 │ } │ ├─ return $handler->handle($request); │ } │ } 29: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/vendor/slim/slim/Slim/MiddlewareDispatcher.php:209 │ if ($this->callableResolver instanceof AdvancedCallableResolverInterface) { │ $callable = $this->callableResolver->resolveMiddleware($this->middleware); ├─ return $callable($request, $this->next); │ } │ 30: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/GambioAdmin/Application/Middleware/UpdaterRedirectMiddleware.php:81 │ } │ ├─ return $handler->handle($request); │ } │ 31: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/vendor/slim/slim/Slim/MiddlewareDispatcher.php:209 │ if ($this->callableResolver instanceof AdvancedCallableResolverInterface) { │ $callable = $this->callableResolver->resolveMiddleware($this->middleware); ├─ return $callable($request, $this->next); │ } │ 32: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/vendor/slim/slim/Slim/MiddlewareDispatcher.php:81 │ public function handle(ServerRequestInterface $request): ResponseInterface │ { ├─ return $this->tip->handle($request); │ } │ 33: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/vendor/slim/slim/Slim/App.php:215 │ public function handle(ServerRequestInterface $request): ResponseInterface │ { ├─ $response = $this->middlewareDispatcher->handle($request); │ │ /** 34: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/vendor/slim/slim/Slim/App.php:199 │ } │ ├─ $response = $this->handle($request); │ $responseEmitter = new ResponseEmitter(); │ $responseEmitter->emit($response); 35: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/GambioCore/Application/Kernel/HttpKernel.php:67 │ /** @var SlimApp $slim */ │ $slim = $this->application->get(SlimApp::class); ├─ $slim->run(new HttpRequest($slimRequest)); │ } │ } 36: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/GambioCore/Application/Application.php:70 │ $kernel->bootstrap($app, $bootstrapper); │ ├─ $kernel->run(); │ } │ 37: /var/www/vhosts/marmolesjk.38235.onlineshophosting.de/httpdocs/shop/admin/index.php:28 │ require_once __DIR__ . '/../vendor/autoload.php'; │ ├─ Application::main(new HttpKernel(), new GambioAdminBootstrapper());