Hi,
When trying to upgrade from 5.5.6 to 5.6.14, those errors broke up the app:
When trying to upgrade from 5.5.6 to 5.6.14, those errors broke up the app:
Code:
[2020-11-19 05:33:34] Espo.WARNING: E_WARNING: Invalid argument supplied for foreach() {"code":2,"message":"Invalid argument supplied for foreach()","file":"/home/user/www/application/Espo/Core/Utils/Database/Schema/Converter.php","line":316} [] [2020-11-19 05:33:34] Espo.WARNING: E_WARNING: Invalid argument supplied for foreach() {"code":2,"message":"Invalid argument supplied for foreach()","file":"/home/user/www/application/Espo/Core/Utils/Database/Schema/Converter.php","line":316} [] [2020-11-19 05:33:48] Espo.ERROR: API [GET]:.*, Params:Array ( ) , InputData: - [] [] [2020-11-19 05:33:48] Espo.ERROR: Display Error: , Code: 404 URL: /?entryPoint=LogoImage&id=559211c8e592f8458 [] [] [2020-11-19 05:33:48] Espo.ERROR: Uncaught Exception Slim\Exception\Stop: "" at /home/user/www/vendor/slim/slim/Slim/Slim.php line 1022 {"exception":"[object] (Slim\\Exception\\Stop(code: 0): at /home/user/www/vendor/slim/slim/Slim/Slim.php:1022)"} [] [2020-11-19 05:34:03] Espo.WARNING: E_WARNING: Invalid argument supplied for foreach() {"code":2,"message":"Invalid argument supplied for foreach()","file":"/home/user/www/application/Espo/Core/Utils/Database/Schema/Converter.php","line":313} [] [2020-11-19 05:34:03] Espo.WARNING: E_WARNING: Invalid argument supplied for foreach() {"code":2,"message":"Invalid argument supplied for foreach()","file":"/home/user/www/application/Espo/Core/Utils/Database/Schema/Converter.php","line":313} [] [2020-11-19 05:34:08] Espo.WARNING: E_WARNING: Invalid argument supplied for foreach() {"code":2,"message":"Invalid argument supplied for foreach()","file":"/home/user/www/application/Espo/Core/Utils/Database/Schema/Converter.php","line":313} [] [2020-11-19 05:34:08] Espo.WARNING: E_WARNING: Invalid argument supplied for foreach() {"code":2,"message":"Invalid argument supplied for foreach()","file":"/home/user/www/application/Espo/Core/Utils/Database/Schema/Converter.php","line":313} [] [2020-11-19 05:34:11] Espo.ERROR: Uncaught Exception ParseError: "syntax error, unexpected '?', expecting variable (T_VARIABLE)" at /home/user/www/application/Espo/ORM/Entity.php line 66 {"exception":"[object] (ParseError: ParseError: syntax error, unexpected '?', expecting variable (T_VARIABLE) in /home/user/www/application/Espo/ORM/Entity.php:66\nStack trace:\n#0 /home/user/www/vendor/composer/ClassLoader.php(301): Composer\\Autoload\\includeFile('/home/user/S...')\n#1 [internal function]: Composer\\Autoload\\ClassLoader->loadClass('Espo\\\\ORM\\\\Entity')\n#2 /home/user/www/application/Espo/Core/Utils/Database/Orm/Converter.php(302): spl_autoload_call('Espo\\\\ORM\\\\Entity')\n#3 /home/user/www/application/Espo/Core/Utils/Database/Orm/Converter.php(203): Espo\\Core\\Utils\\Database\\Orm\\Converter->convertFields('ActionHistoryRe...', Array)\n#4 /home/user/www/application/Espo/Core/Utils/Database/Orm/Converter.php(181): Espo\\Core\\Utils\\Database\\Orm\\Converter->convertEntity('ActionHistoryRe...', Array)\n#5 /home/user/www/application/Espo/Core/Utils/Database/Converter.php(67): Espo\\Core\\Utils\\Database\\Orm\\Converter->process()\n#6 /home/user/www/application/Espo/Core/Utils/Metadata/OrmMetadata.php(93): Espo\\Core\\Utils\\Database\\Converter->process()\n#7 /home/user/www/application/Espo/Core/Loaders/EntityManager.php(45): Espo\\Core\\Utils\\Metadata\\OrmMetadata->getData()\n#8 /home/user/www/application/Espo/Core/Container.php(78): Espo\\Core\\Loaders\\EntityManager->load()\n#9 /home/user/www/application/Espo/Core/Container.php(44): Espo\\Core\\Container->load('entityManager')\n#10 /home/user/www/application/Espo/Core/Utils/Auth.php(116): Espo\\Core\\Container->get('entityManager')\n#11 /home/user/www/application/Espo/Core/Utils/Auth.php(161): Espo\\Core\\Utils\\Auth->getEntityManager()\n#12 /home/user/www/application/Espo/Core/Utils/Api/Auth.php(131): Espo\\Core\\Utils\\Auth->login('u94jd3s', '1e5e7a83e9200f6...', NULL)\n#13 /home/user/www/application/Espo/Core/Utils/Api/Slim.php(125): Espo\\Core\\Utils\\Api\\Auth->call()\n#14 /home/user/www/application/Espo/Core/Application.php(93): Espo\\Core\\Utils\\Api\\Slim->run()\n#15 /home/user/www/api/v1/index.php(33): Espo\\Core\\Application->run()\n#16 {main})"} []
Comment