Hi after updating to 9.3.1 I inspected the espocrm log and found:
The code is:
When I check this in an online php sandbox I get the same error. https://onlinephp.io/
The word string is the reason. It should look like:
Is this correct ?
Btw. it has nothing to do with 9.3.1
It's a PHP problem.
application/Espo/Core/ORM/Type/FieldType.php
Code:
CRITICAL: (0) Uncaught Exception ParseError: "syntax error, unexpected identifier "VARCHAR", expecting "="" at /var/www/clients/client1/web62/web/application/Espo/Core/ORM/Type/FieldType.php line 34 :: /var/www/clients/client1/web62/web/application/Espo/Core/ORM/Type/FieldType.php(34)
Code:
class FieldType
{
public const string VARCHAR = 'varchar';
public const string BOOL = 'bool';
The word string is the reason. It should look like:
Code:
class FieldType
{
public const VARCHAR = 'varchar';
public const BOOL = 'bool';
Btw. it has nothing to do with 9.3.1
It's a PHP problem.
application/Espo/Core/ORM/Type/FieldType.php

Comment