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. 251 documented errors.

Code / MessageTypeSeverityTags
Invalid path alias: $alias
exception error path-alias, configuration, yii-core, filesystem
Unable to find '$className' in file: $classFile. Namespace m
exception error autoloading, namespace, composer, class-not-found
Unsupported configuration type: ' . gettype($type)
exception error di-container, createobject, configuration, factory
Object configuration must be an array containing a "class" o
exception error di-container, createobject, configuration
get_class($this) . ' must define a "run()" method.'
exception error mvc, action, controller, run-method
The "id" configuration for the Application is required.
exception error configuration, application, bootstrap
The "basePath" configuration for the Application is required
exception error configuration, application, bootstrap, path
Unknown bootstrapping component ID: $mixed
exception error configuration, bootstrap, application, service-locator
'Getting write-only property: ' . get_class($this) . '::' .
exception error oop, magic-methods, property-access
Getting unknown property: {class}::{name}
exception error oop, magic-methods, property-access, typo
Setting read-only property: {class}::{name}
exception error oop, magic-methods, property-access, immutable
Setting unknown property: {class}::{name}
exception error oop, magic-methods, configuration, typo
Unsetting read-only property: {class}::{name}
exception error oop, magic-methods, unset, property-access
Calling unknown method: {class}::{name}()
exception error oop, magic-methods, method-call, typo
Unsetting an unknown or read-only property: {class}::{name}
exception error oop, behaviors, magic-methods, unset
Calling unknown method: {class}::{name}()
exception error oop, behaviors, magic-methods, method-call
Could not load required service: {name}
exception error dependency-injection, controller, action, service-locator
Invalid validation rule: a rule must specify both attribute
exception error validation, dynamic-model, rules, configuration
The "formName()" method should be explicitly defined for ano
exception error model, forms, anonymous-class, php7
Unknown scenario: $scenario
exception error php, yii2, model, validation, scenario
Invalid validation rule: a rule must specify both attribute
exception error php, yii2, model, validation, rules, config
The directory does not exist: $path
exception critical php, yii2, config, bootstrap, path-alias, module
Controller class must extend from \yii\base\Controller.
exception error php, yii2, controller, inheritance, debug-mode
Unable to determine the entry script file path.
exception error php, yii2, request, cli, server-superglobal
Encryption requires the OpenSSL PHP extension
exception error php, yii2, security, encryption, openssl, php-extension
{cipher} is not an allowed cipher
exception error php, yii2, security, encryption, cipher, config
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
Failed to generate HMAC with hash algorithm: {macHash}
exception error php, yii2, security, hmac, hash, config
Failed to generate HMAC with hash algorithm:
exception error php, yii2, security, hmac, hash, tamper-check
First parameter ($length) must be an integer
exception error php, yii2, security, random, type-error
First parameter ($length) must be greater than 0
exception error php, yii2, security, random, argument-validation
Password must be a string and cannot be empty.
exception error php, yii2, security, password, bcrypt, argument-validation
Hash is invalid.
exception error php, yii2, security, bcrypt, password, authentication
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
Expected actual value to be a string,
exception error php, yii2, security, string-comparison, timing-attack, request-input
The "basePath" property must be set.
exception error php, yii2, theming, views, configuration, rendering
The "baseUrl" property must be set.
exception error php, yii2, theming, assets, urls, configuration
Unable to locate view file for view '$view': no active contr
exception error php, yii2, views, rendering, console, controller-context
Unable to resolve view file for view '$view': no active view
exception error php, yii2, views, rendering, console, view-context
The view file does not exist: $viewFile
exception error php, yii2, views, rendering, file-not-found, deployment
Expecting end() of {widget}, found {calledClass}
exception error php, yii2, widget, views, rendering, nesting
Unexpected {calledClass}::end() call. A matching begin() is
exception error php, yii2, widget, views, rendering, control-flow
There is no type mapping for '{attribute}'.
exception warning php, yii2, behavior, model, typecast, validation-rules
Unsupported type '{type}'
exception error php, yii2, behavior, typecast, enums, configuration
DbDependency::sql must be set.
exception error php, yii2, cache, dependency, database, configuration
"{class}::$query" should be an instance of "yii\db\QueryInte
exception error php, yii2, cache, dependency, query, configuration
FileDependency::fileName must be set
exception error php, yii2, cache, dependency, filesystem, configuration
The 'host' property must be specified for every memcache ser
exception error php, yii2, cache, memcache, configuration, servers
MemCache requires PHP $extension extension to be loaded.
exception error php, yii2, cache, memcache, php-extension, environment, deployment
You should configure "cache" component to use database befor
exception error php, yii2, cache, migration, dbcache, console, configuration
Either GD PHP extension with FreeType support or ImageMagick
exception error
The font file does not exist: {$this->fontFile}
exception error
Defined library '{$imageLibrary}' is not supported
exception error
Invalid CAPTCHA action ID: {$this->captchaAction}
exception error
Unknown command "$route".
console error
Unknown alias: -{name}
console error
Unknown option: --{name}
console error
Could not load required service: {name}
console error
Missing required arguments: {params}
console error
Parameter "$name" is not valid
console error
Please specify 'basePath' for the 'assetManager' option.
console error
Please specify 'baseUrl' for the 'assetManager' option.
console error
"{get_class($this)}::assetManager" should be either object o
console error
Unknown configuration option: $name
console error
A circular dependency is detected for bundle '$name': {compo
console error
Only one target can have empty 'depends' option. Found two n
console error
Target '{$referenced[$bundle]}' and '$name' cannot contain t
console error
Please specify 'basePath' for the '$name' target.
console error
Please specify 'baseUrl' for the '$name' target.
console error
Unable to write output JavaScript file '{$outputFile}'.
console error
Unable to write output CSS file '{$outputFile}'.
console error
Unable to write template file '{$configFile}'.
console error
At least one of `migrationPath` or `migrationNamespaces` sho
console error
Migration failed. Directory specified in migrationPath doesn
console error
The step argument must be greater than 0.
exception error
The version argument must be either a timestamp (e.g. 101129
exception error
The version argument must be either a timestamp (e.g. 101129
exception error
Unable to find the version '$originalVersion'.
exception error
The limit must be greater than 0.
exception error
The migration name should contain letters, digits, underscor
exception error
The migration name is too long.
exception error
Namespace '{$namespace}' not found in `migrationNamespaces`
exception error
This command is not implemented in {get_class($this)}
console error
You should specify cache components names
console error
No files were found for: "{implode(', ', $fixturesInput)}".
console error
No fixtures were found in namespace: "{$this->namespace}"
console error
No fixtures were found in namespace: {$this->namespace}".
console error
Neither fixture "{$fullClassName}" nor "{$fullClassName}Fixt
console error
Invalid fixture namespace: "{$this->namespace}". Please, che
console error
No help for unknown command "$name".
console error
No help for unknown sub-command "$name".
console error
Directory '{$dir}' can not be created.
console error
The configuration file does not exist: $configFile
console error
The configuration file must specify "sourcePath" and "langua
console error
The source path {$this->config['sourcePath']} is not a valid
console error
Format should be either "php", "po", "pot" or "db".
console error
The configuration file must specify "messagePath".
console error
The message path {$this->config['messagePath']} is not a val
console error
Languages cannot be empty.
console error
The "query" property must be an instance of a class that imp
exception error
Only Pagination instance, configuration array or false is al
exception error
Only Sort instance, configuration array or false is allowed.
exception error
`{}`::$searchModel` should be an instance of `{}` or its DI
exception error
Unknown attribute: $attribute
exception error
The "sql" property must be set.
exception error configuration, data-provider, sql, yii2
Primary key of '{$class}' can not be empty.
exception error primary-key, join, active-record, schema, duplicate-rows
"{}" must have a primary key.
exception error primary-key, find, active-record, yii2
Key "{}" is not a column name and can not be used as a filte
exception error active-record, condition, column-validation, sql-injection-guard
The table does not exist: {table}
exception critical database, schema, migration, table, configuration, schema-cache
The object being deleted is outdated.
exception error optimistic-locking, concurrency, delete, stale-object, yii2
Relation names are case sensitive. {class} has a relation na
exception error relations, naming, case-sensitivity, magic-getter
Invalid link: it must be an array of key-value pairs.
exception error relations, configuration, link, active-record
Value must be convertable to string.
exception error relations, type-conversion, primary-key, string-cast
The ArrayExpression class can not be iterated when the value
exception error expression, iterator, query, array, yii2
"{class}" must have a primary key.
exception error primary-key, find, active-record, baseactiverecord
{method} is not supported.
exception error active-record, unsupported-operation, static-methods, batch-update
{class} has no attribute named "{name}".
exception error active-record, attributes, schema-cache, typo
The object being updated is outdated.
exception error optimistic-locking, concurrency, update, stale-object, conflict
The object being deleted is outdated.
exception error optimistic-locking, concurrency, delete, stale-object, conflict
{class} does not have a primary key. You should either defin
exception critical primary-key, active-record, schema, save, delete
{class} has no relation named "{name}".
exception error
Relation names are case sensitive. {class} has a relation na
exception error
Unable to link models: the models being linked cannot be new
exception error
Unable to link models: at most one model can be newly create
exception error
Unable to link models: the link defining the relation does n
exception error
Unable to unlink models: the link does not involve any prima
exception error
Unable to link models: the primary key of {} is null.
exception error
{} Failed to prepare SQL: $sql
exception error
None of the master DB servers is available.
exception error
Connection::dsn cannot be empty.
exception error
{}
exception error
Connection does not support reading schema information for '
exception error
The "dsn" option must be specified.
exception error
DataReader cannot rewind. It is a forward-only reader.
exception error
The JsonExpression class can not be serialized to JSON when
exception error
{} in $from is not supported.
exception error
To use Expression in from() method, pass it in array format
exception error
Expression of class {} can not be built in {}
exception error
Expected select query object with enumerated (named) paramet
exception error
{} does not support upsert statements.
exception error
{} does not support adding default value constraints.
exception error
{} does not support dropping default value constraints.
exception error
{} does not support resetting sequence.
exception error
{} does not support enabling/disabling integrity check.
exception error
A join clause must be specified as an array of join type, jo
exception error
$rawColumns is not valid columns.
exception error
{} does not support resolving table names.
exception error
{} does not support fetching all schema names.
exception error
{} does not support fetching all table names.
exception error
{} does not support getting unique indexes information.
exception error
DB Connection is not active.
exception error
Length must be greater than 0.
exception error
Primary key '$key' cannot be found in table '{$this->name}'.
exception error
Transaction::db must be set.
exception error
Transaction not started: nested transaction not supported.
exception error
Failed to commit transaction: transaction was inactive.
exception error
Failed to set isolation level: transaction was inactive.
exception error
Operator '$operator' requires three operands.
exception error
Operator '$operator' requires three operands.
exception error yii2, database, query-builder, between, where-condition, validation
Subquery for EXISTS operator must be a Query object.
exception error yii2, database, query-builder, exists, subquery
Operator '$operator' requires two operands.
exception error yii2, database, query-builder, in-condition, where-condition, validation
Operator '$operator' requires two operands.
exception error yii2, database, query-builder, like, where-condition, validation
Invalid operator '$operator'.
exception error yii2, database, query-builder, like, operator, regex-validation
Operator '$operator' requires exactly one operand.
exception error yii2, database, query-builder, not-condition, where-condition, validation
Operator '$operator' requires two operands.
exception error yii2, database, query-builder, operator, where-condition, validation
Table not found: $tableName
exception error yii2, cubrid, database, sequence, schema, fixture
There is not sequence associated with table '$tableName'.
exception error yii2, cubrid, database, sequence, schema, fixture
yii\db\cubrid\QueryBuilder::addCheck is not supported by CUB
exception error yii2, cubrid, database, migration, check-constraint, not-supported
yii\db\cubrid\QueryBuilder::dropCheck is not supported by CU
exception error yii2, cubrid, database, migration, check-constraint, not-supported
Unable to find column '$column' in table '$table'.
exception error yii2, cubrid, database, schema, column-comment, migration
CUBRID does not support check constraints.
exception error yii2, cubrid, database, schema, introspection, check-constraint, not-supported
CUBRID does not support default value constraints.
exception error yii2, cubrid, database, schema, introspection, default-value, not-supported
Table not found: $tableName
exception error yii2, mssql, sqlserver, database, sequence, fixture
There is not sequence associated with table '$tableName'.
exception error yii2, mssql, sqlserver, database, sequence, identity, fixture
Table not found: $table
exception error yii2, mssql, sqlserver, database, column-comment, migration, extended-property
yii\db\mssql\conditions\InConditionBuilder::buildSubqueryInC
exception error yii2, mssql, sqlserver, database, query-builder, in-condition, subquery, composite-key, not-supported
Unable to find column '$oldName' in table '$table'.
exception error yii2, mysql, database, migration, rename-column, schema
Table not found: $tableName
exception error yii2, php, mysql, database, sequence, auto-increment, schema-cache
There is no sequence associated with table '$tableName'.
exception error yii2, php, mysql, database, sequence, auto-increment, primary-key
Unable to find column '$column' in table '$table'.
exception error yii2, php, mysql, database, migration, column-not-found
MySQL < 8.0.16 does not support check constraints.
exception error yii2, php, mysql, database, check-constraint, version-mismatch
MySQL does not support default value constraints.
exception error yii2, php, mysql, database, default-constraint, not-supported
Unknown table: $table
exception error yii2, php, oracle, oci, database, sequence, table-not-found
There is no sequence associated with table: $table
exception error yii2, php, oracle, oci, database, sequence, primary-key
Can't reset sequence for composite primary key in table: $ta
exception error yii2, php, oracle, oci, database, sequence, composite-primary-key
Oracle does not support ON UPDATE clause.
exception error yii2, php, oracle, oci, database, foreign-key, migration, not-supported
Oracle does not support default value constraints.
exception error yii2, php, oracle, oci, database, default-constraint, not-supported
DB Connection is not active.
exception error yii2, php, oracle, oci, database, connection, last-insert-id
Table not found: $tableName
exception error yii2, php, postgresql, pgsql, database, sequence, search-path
There is not sequence associated with table '$tableName'.
exception error yii2, php, postgresql, pgsql, database, sequence, serial, identity-column
PostgreSQL does not support default value constraints.
exception error yii2, php, postgresql, pgsql, database, default-constraint, not-supported
yii\db\sqlite\QueryBuilder::dropForeignKey is not supported
exception error yii2, php, sqlite, database, foreign-key, migration, not-supported
yii\db\sqlite\QueryBuilder::alterColumn is not supported by
exception error yii2, php, sqlite, database, alter-column, migration, not-supported
yii\db\sqlite\QueryBuilder::addPrimaryKey is not supported b
exception error yii2, php, sqlite, database, primary-key, migration, not-supported
yii\db\sqlite\QueryBuilder::dropPrimaryKey is not supported
exception error yii2, php, sqlite, database, primary-key, migration, not-supported
yii\db\sqlite\QueryBuilder::addUnique is not supported by SQ
exception error yii2, php, sqlite, database, unique-constraint, migration, not-supported
__METHOD__ is not supported by SQLite.
exception error yii2, php, sqlite, database, unique-constraint, migration, not-supported
SQLite does not support default value constraints.
exception error sqlite, yii2, schema, introspection, default-value, not-supported
Missing required parameter "$name" when calling "$funcName".
exception error yii2, dependency-injection, container, invoke, invalid-config
Invalid data type: $class. $type is expected.
exception error yii2, dependency-injection, config, instance, type-mismatch
The required component is not specified.
exception error yii2, dependency-injection, config, instance, empty-value
Failed to instantiate component or class "$reference->id".
exception error yii2, dependency-injection, instance, class-not-found, config
"$reference->id" refers to a get_class($component) component
exception error yii2, dependency-injection, instance, type-mismatch, config
Invalid data type: $valueType. $type is expected.
exception error yii2, dependency-injection, instance, type-mismatch, invalid-config
Failed to instantiate class "Instance". Required parameter "
exception warning yii2, dependency-injection, instance, var-export, serialization
Unknown component ID: $id
exception error yii2, service-locator, config, component, unknown-id
The configuration for the "$id" component must contain a "cl
exception error yii2, service-locator, config, component, missing-class-key
Unexpected configuration type for the "$id" component: getty
exception error yii2, service-locator, config, component, invalid-type
You are not allowed to perform this action.
http error yii2, access-control, rbac, authorization, http-403, filter
The user application component must be available to specify
exception error
Request must be XMLHttpRequest.
http error
Invalid data received for GET parameter '{$this->formatParam
http error
The requested response format is not supported: $format
http error
None of your requested content types is supported.
http error
Rate limit exceeded.
http error
Method Not Allowed. This URL can only handle the following r
http error
Your request was made with invalid credentials.
http error
The "formatter" property must be either a Format object or a
exception error
The column must be specified in the format of "attribute", "
exception error
The "name" property must be set.
exception error
Second parameter($array) cannot be ArrayAccess in case insen
exception error
The length of $direction parameter must be the same as that
exception error
The length of $sortFlag parameter must be the same as that o
exception error
Argument $haystack must be an array or implement Traversable
exception error
Argument $needles must be an array or implement Traversable
exception error
Argument $array must be an array or implement Traversable
exception error
The fileinfo PHP extension is not installed.
exception error
Trying to copy a directory to itself or a subdirectory.
exception error
Unable to open directory: $src
exception error
Unable to open directory: $dir
exception error filesystem, directory, permissions, opendir, yii2
The dir argument must be a directory: $dir
exception error filesystem, directory, validation, remove-directory, yii2
If exclude/include pattern is an array it must contain the p
exception error filesystem, glob, filters, options-validation, yii2
Exclude/include pattern must be a string.
exception error filesystem, glob, type-validation, yii2
Unable to change ownership, "{$path}" is not a file or direc
exception error filesystem, ownership, file-exists, yii2
$ownership must be an integer, string, array, or null.
exception error ownership, type-validation, invalid-argument, yii2
$mode must be an integer or null.
exception error permissions, chmod, type-validation, octal, yii2
Unable to change mode of "{$path}" to "0{$mode}".
exception error permissions, chmod, privileges, environment, yii2
The user part of $ownership must be an integer, string, or n
exception error ownership, type-validation, invalid-argument, yii2
Unable to change user ownership of "{$path}" to "{$user}".
exception error ownership, chown, privileges, environment, yii2
The group part of $ownership must be an integer, string or n
exception error ownership, type-validation, invalid-argument, yii2
Unable to change group ownership of "{$path}" to "{$group}".
exception error ownership, chgrp, privileges, environment, yii2
Attribute name must contain word characters only.
exception error forms, attribute-name, validation, html, yii2
{class}::formName() cannot be empty for tabular inputs.
exception error forms, form-name, tabular-input, validation, yii2
IPv6 is not supported by inet_pton()!
exception error network, ipv6, php-platform, not-supported, yii2
OpenSSL failure on encryption: {error}
exception error security, encryption, openssl, environment, yii2
OpenSSL failure on decryption: {error}
exception error security, decryption, openssl, config-drift, yii2
Cannot unserialize yii\db\BatchQueryResult
exception error security, unserialize, cve-2020-15148, query-iterator, yii2
Failed to create directory "{$path}": {message}
exception error filesystem, permissions, mkdir, php, yii2, deployment
Failed to change permissions for directory "{$path}": {messa
exception error filesystem, permissions, chmod, php, yii2, ownership