Uncaught TypeError... ($priority) must be of type int, string given

WannaVapor

Aktives Mitglied
21. Oktober 2017
4
0
Hallo zusammen,

ich hab grade ein Upgrade eine Shops gemacht. Ich hatte vor langem einen Klon des Servers erstellt und dort das Upgrade ohne Probleme gemacht. In der Zwischenzeit muss irgendein Wert in die DB gekommen sein, den der Shop nicht mag, denn beim Original-Server hab ich jetzt folgende Überraschung erlebt.

Panik... Shop down... Ideen?

Fehlerausgabe:
Code:
Fatal error: Uncaught TypeError: JTL\Filter\SortingOptions\AbstractSortingOption::setPriority(): Argument #1 ($priority) must be of type int, string given, called in /var/www/jtlshop/includes/src/Filter/SortingOptions/NameASC.php on line 24 and defined in /var/www/jtlshop/includes/src/Filter/SortingOptions/AbstractSortingOption.php:101 Stack trace: #0 /var/www/jtlshop/includes/src/Filter/SortingOptions/NameASC.php(24): JTL\Filter\SortingOptions\AbstractSortingOption->setPriority() #1 /var/www/jtlshop/includes/src/Filter/SortingOptions/Factory.php(108): JTL\Filter\SortingOptions\NameASC->__construct() #2 /var/www/jtlshop/includes/src/Filter/SortingOptions/Factory.php(75): JTL\Filter\SortingOptions\Factory->getSortingOption() #3 /var/www/jtlshop/includes/src/Filter/Items/Sort.php(124): JTL\Filter\SortingOptions\Factory->getAll() #4 /var/www/jtlshop/includes/src/Filter/ProductFilter.php(595): JTL\Filter\Items\Sort->registerSortingOptions() #5 /var/www/jtlshop/includes/src/Filter/ProductFilter.php(263): JTL\Filter\ProductFilter->initBaseStates() #6 /var/www/jtlshop/includes/src/Shop.php(660): JTL\Filter\ProductFilter->__construct() #7 /var/www/jtlshop/includes/src/Shop.php(680): JTL\Shop::buildProductFilter() #8 /var/www/jtlshop/includes/src/Router/Controller/AbstractController.php(140): JTL\Shop::getProductFilter() #9 /var/www/jtlshop/includes/src/Router/Router.php(157): JTL\Router\Controller\AbstractController->__construct() #10 /var/www/jtlshop/admin/includes/admininclude.php(73): JTL\Router\Router->__construct() #11 /var/www/jtlshop/admin/index.php(6): require_once('...') #12 {main} thrown in /var/www/jtlshop/includes/src/Filter/SortingOptions/AbstractSortingOption.php on line 101