-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Error] Class "SpecialCharsEnum" not found error #55
Comments
Example error :
|
Same here. I'm doing a PoC of migration from 7.5 to 8 and I found same error. |
The same errors happens when running task.php (the background task). So this might break the background task? |
Hi.
|
is there a fix for this? |
This may have been fixed in a later release, however the developers don't seem to favour self hosted and prioritise cloud releases . I can't see it being fixed any time soon until a new image is released. |
This comment was marked as outdated.
This comment was marked as outdated.
Ignore my comment from above. So I found a workaround (for me). // Check for environment variables/options that can influence the
// runtime behavior of the task and set them as defines, if found.
$envs = array(
'DEPLOY_INSTANCE_ID',
'DEPLOY_HOSTNAME',
'DEPLOY_INSTALLATION_URL',
'DEPLOY_ATTACHMENT_PATH',
'DEPLOY_BACKUP_PATH',
'DEPLOY_CUSTOM_PATH',
'DEPLOY_EXPORT_PATH',
'DEPLOY_LOG_PATH',
'LOG_OUTPUT_TYPE',
'DEPLOY_REQUEST_HOSTED',
'DEPLOY_REPORT_PATH',
'DEPLOY_DEBUG',
'DEPLOY_DEBUG_TASK',
'DEPLOY_PROXY_HOST',
'DEPLOY_PROXY_PORT',
'DB_DRIVER',
'DB_HOSTNAME',
'DB_DATABASE',
'DB_USERNAME',
'DB_PASSWORD',
'CASSANDRA_HOSTNAME',
'CASSANDRA_PORT',
'CASSANDRA_KEYSPACE',
'CASSANDRA_USERNAME',
'CASSANDRA_PASSWORD',
'RABBITMQ_HOST',
'RABBITMQ_PORT',
'RABBITMQ_USER',
'RABBITMQ_PASSWORD',
'RABBITMQ_USE_SSL',
'DEPLOY_TASK_REMOVE_ATTACHMENTS_INTERVAL',
'DEPLOY_TASK_REMOVE_ATTACHMENTS_REMOVAL_TIME_INTERVAL',
'DEPLOY_LICENSE_ENTERPRISE',
'ATTACHMENT_SIZE',
'DATABASE_SIZE',
'STORAGE_HARD_LIMIT',
'STORAGE_SOFT_LIMIT',
'ENTERPRISE_STORAGE_HARD_LIMIT',
'ENTERPRISE_STORAGE_SOFT_LIMIT',
'DEPLOY_LICENSE_INSTANCE_ID',
'DEPLOY_LICENSE_ACCOUNT',
'DEPLOY_LICENSE_ACCOUNT_TYPE',
'APPLICATION_CONFIG',
'DEPLOY_LICENSE_PAYMENT_TYPE',
'DEPLOY_LICENSE_SUBSCRIPTION_EXPIRATION_DATE',
'DEPLOY_LICENSE_CAN_RENEW_ONLINE',
'META_INTERNAL_SERVICE_HOST',
'META_API_KEY',
'CASSANDRA_SCHEMA_VERSION'
);
foreach ($envs as $env) {
$value = getenv($env);
if ($value !== false) {
$jsonValue = json_decode($value, true);
define(
$env,
json_last_error() === 0
? $jsonValue
: $value
);
}
} Each listed and defined environment variable from above gets defined as a constant in php (by |
Using
apache:default
tag v8.0.1(1029) Default .We get this constant error every minute in the system log .
Doesn't seem to be breaking anything but could use fixing.
The text was updated successfully, but these errors were encountered: