ErrLookup › yiisoft/yii2

yiisoft/yii2

Yii 2: The Fast, Secure and Professional PHP Framework · PHP · 525 source files

Analyzed at 66f00d18a2 on 2026-08-17. 129 documented errors.

Code / MessageTypeSeverityTags
Invalid operator '$operator'.
exception error yii2, database, query-builder, like, operator, regex-validation
Operator '$operator' requires two operands.
exception error yii2, database, query-builder, operator, where-condition, validation
Operator '$operator' requires three operands.
exception error yii2, database, query-builder, between, where-condition, validation
Invalid path alias: $alias
exception error path-alias, configuration, yii-core, filesystem
Unable to find column '$column' in table '$table'.
exception error yii2, cubrid, database, schema, column-comment, migration
Exclude/include pattern must be a string.
exception error filesystem, glob, type-validation, yii2
Unable to find '$className' in file: $classFile. Namespace…
exception error autoloading, namespace, composer, class-not-found
Hash is invalid.
exception error php, yii2, security, bcrypt, password, authentication
Unable to find column '$oldName' in table '$table'.
exception error yii2, mysql, database, migration, rename-column, schema
Failed to create directory
exception error filesystem, permissions, mkdir, php, yii2, deployment
yii\db\mssql\conditions\InConditionBuilder::buildSubqueryInC…
exception error yii2, mssql, sqlserver, database, query-builder, in-condition, subquery, composite-key, not-supported
Table not found: $tableName
exception error yii2, cubrid, database, sequence, schema, fixture
Failed to change permissions for directory
exception error filesystem, permissions, chmod, php, yii2, ownership
OpenSSL failure on decryption
exception error security, decryption, openssl, config-drift, yii2
Unknown bootstrapping component ID: $mixed
exception error configuration, bootstrap, application, service-locator
If exclude/include pattern is an array it must contain the…
exception error filesystem, glob, filters, options-validation, yii2
You should configure "cache" component to use database…
exception error php, yii2, cache, migration, dbcache, console, configuration
Failed to instantiate class "Instance". Required parameter…
exception warning yii2, dependency-injection, instance, var-export, serialization
Missing required parameter "$name" when calling "$funcName".
exception error yii2, dependency-injection, container, invoke, invalid-config
Could not load required service
exception error dependency-injection, controller, action, service-locator
Invalid validation rule: a rule must specify both attribute…
exception error php, yii2, model, validation, rules, config
Controller class must extend from \yii\base\Controller.
exception error php, yii2, controller, inheritance, debug-mode
Invalid data type: $class. $type is expected.
exception error yii2, dependency-injection, config, instance, type-mismatch
The view file does not exist: $viewFile
exception error php, yii2, views, rendering, file-not-found, deployment
Primary key of ' ' can not be empty.
exception error primary-key, join, active-record, schema, duplicate-rows
Unable to open directory: $dir
exception error filesystem, directory, permissions, opendir, yii2
is not an allowed cipher
exception error php, yii2, security, encryption, cipher, config
The directory does not exist: $path
exception critical php, yii2, config, bootstrap, path-alias, module
There is no type mapping for
exception warning php, yii2, behavior, model, typecast, validation-rules
The "formName()" method should be explicitly defined for…
exception error model, forms, anonymous-class, php7
Setting unknown property
exception error oop, magic-methods, configuration, typo
There is not sequence associated with table '$tableName'.
exception error yii2, cubrid, database, sequence, schema, fixture
Failed to generate HMAC with hash algorithm:
exception error php, yii2, security, hmac, hash, tamper-check
MemCache requires PHP $extension extension to be loaded.
exception error php, yii2, cache, memcache, php-extension, environment, deployment
Failed to instantiate component or class "$reference->id".
exception error yii2, dependency-injection, instance, class-not-found, config
Unable to locate view file for view '$view': no active…
exception error php, yii2, views, rendering, console, controller-context
Unable to resolve view file for view '$view': no active…
exception error php, yii2, views, rendering, console, view-context
Attribute name must contain word characters only.
exception error forms, attribute-name, validation, html, yii2
Failed to generate HMAC with hash algorithm
exception error php, yii2, security, hmac, hash, config
CUBRID does not support check constraints.
exception error yii2, cubrid, database, schema, introspection, check-constraint, not-supported
Unsupported configuration type: ' . gettype($type)
exception error di-container, createobject, configuration, factory
Unsetting an unknown or read-only property
exception error oop, behaviors, magic-methods, unset
Relation names are case sensitive.
exception error relations, naming, case-sensitivity, magic-getter
Value must be convertable to string.
exception error relations, type-conversion, primary-key, string-cast
::formName() cannot be empty for tabular inputs.
exception error forms, form-name, tabular-input, validation, yii2
The "basePath" property must be set.
exception error php, yii2, theming, views, configuration, rendering
Subquery for EXISTS operator must be a Query object.
exception error yii2, database, query-builder, exists, subquery
The dir argument must be a directory: $dir
exception error filesystem, directory, validation, remove-directory, yii2
does not have a primary key. You should either define a…
exception critical primary-key, active-record, schema, save, delete
get_class($this) . ' must define a "run()" method.'
exception error mvc, action, controller, run-method
OpenSSL failure on encryption
exception error security, encryption, openssl, environment, yii2
Table not found: $table
exception error yii2, mssql, sqlserver, database, column-comment, migration, extended-property
Object configuration must be an array containing a "class"…
exception error di-container, createobject, configuration
FileDependency::fileName must be set
exception error php, yii2, cache, dependency, filesystem, configuration
Cannot unserialize yii\db\BatchQueryResult
exception error security, unserialize, cve-2020-15148, query-iterator, yii2
Key " " is not a column name and can not be used as a filter
exception error active-record, condition, column-validation, sql-injection-guard
The "basePath" configuration for the Application is…
exception error configuration, application, bootstrap, path
Calling unknown method
exception error oop, behaviors, magic-methods, method-call
" ::$query" should be an instance of…
exception error php, yii2, cache, dependency, query, configuration
Unable to change mode of
exception error permissions, chmod, privileges, environment, yii2
Unsetting read-only property
exception error oop, magic-methods, unset, property-access
Expecting end() of , found
exception error php, yii2, widget, views, rendering, nesting
The 'host' property must be specified for every memcache…
exception error php, yii2, cache, memcache, configuration, servers
Unsupported type
exception error php, yii2, behavior, typecast, enums, configuration
yii\db\cubrid\QueryBuilder::dropCheck is not supported by…
exception error yii2, cubrid, database, migration, check-constraint, not-supported
Invalid link: it must be an array of key-value pairs.
exception error relations, configuration, link, active-record
Encryption requires the OpenSSL PHP extension
exception error php, yii2, security, encryption, openssl, php-extension
MySQL < 8.0.16 does not support check constraints.
exception error yii2, php, mysql, database, check-constraint, version-mismatch
"$reference->id" refers to a get_class($component)…
exception error yii2, dependency-injection, instance, type-mismatch, config
Unknown scenario: $scenario
exception error php, yii2, model, validation, scenario
The version argument must be either a timestamp (e.g…
exception error
Unable to change ownership
exception error filesystem, ownership, file-exists, yii2
yii\db\cubrid\QueryBuilder::addCheck is not supported by…
exception error yii2, cubrid, database, migration, check-constraint, not-supported
Getting unknown property
exception error oop, magic-methods, property-access, typo
You are not allowed to perform this action.
http error yii2, access-control, rbac, authorization, http-403, filter
CUBRID does not support default value constraints.
exception error yii2, cubrid, database, schema, introspection, default-value, not-supported
The "baseUrl" property must be set.
exception error php, yii2, theming, assets, urls, configuration
" " must have a primary key.
exception error primary-key, find, active-record, baseactiverecord
Cost must be between 4 and 31.
exception warning php, yii2, security, bcrypt, deprecated, configuration
Expected expected value to be a string,
exception error php, yii2, security, string-comparison, timing-attack, null-safety
Invalid parameters to hash_hkdf()
exception error php, yii2, security, hkdf, key-derivation, hash
Invalid parameters to hash_pbkdf2()
exception error php, yii2, security, pbkdf2, key-derivation, hash
DbDependency::sql must be set.
exception error php, yii2, cache, dependency, database, configuration
The object being deleted is outdated.
exception error optimistic-locking, concurrency, delete, stale-object, yii2
The object being updated is outdated.
exception error optimistic-locking, concurrency, update, stale-object, conflict
Unexpected configuration type for the "$id" component…
exception error yii2, service-locator, config, component, invalid-type
DB Connection is not active.
exception error yii2, php, oracle, oci, database, connection, last-insert-id
Unknown component ID: $id
exception error yii2, service-locator, config, component, unknown-id
Invalid data type: $valueType. $type is expected.
exception error yii2, dependency-injection, instance, type-mismatch, invalid-config
Unable to determine the entry script file path.
exception error php, yii2, request, cli, server-superglobal
The ArrayExpression class can not be iterated when the…
exception error expression, iterator, query, array, yii2
'Getting write-only property: ' . get_class($this) . '::' …
exception error oop, magic-methods, property-access
is not supported.
exception error active-record, unsupported-operation, static-methods, batch-update
SQLite does not support default value constraints.
exception error sqlite, yii2, schema, introspection, default-value, not-supported
The table does not exist
exception critical database, schema, migration, table, configuration, schema-cache
Unable to change group ownership of
exception error ownership, chgrp, privileges, environment, yii2
The configuration for the "$id" component must contain a…
exception error yii2, service-locator, config, component, missing-class-key
Unknown table: $table
exception error yii2, php, oracle, oci, database, sequence, table-not-found
Password must be a string and cannot be empty.
exception error php, yii2, security, password, bcrypt, argument-validation
The user part of $ownership must be an integer, string, or…
exception error ownership, type-validation, invalid-argument, yii2