Error messages

This is the list of error messages, as found in die() and exit() expressions.

MessageFileLine
'handleError'
/src/Error/BaseErrorHandler.php96
500/src/Error/BaseErrorHandler.php260
__d('cake''Missing or invalid CSRF cookie.')
/src/Http/Middleware/CsrfProtectionMiddleware.php290
sprintf($message'_Token.debug')
/src/Controller/Component/SecurityComponent.php270
'Unexpected \'_Token.debug\' found in request data'
/src/Controller/Component/SecurityComponent.php273
"'_Token.fields' is invalid."
/src/Controller/Component/SecurityComponent.php264
sprintf($message'_Token.unlocked')
/src/Controller/Component/SecurityComponent.php267
'Paginator must be an instance of ' Paginator::class
/src/Controller/Component/PaginatorComponent.php76
'Invoked extension not recognized/configured: ' $this->ext/src/Controller/Component/RequestHandlerComponent.php208
'The request has been black-holed'
/src/Controller/Component/SecurityComponent.php516
'Flash message missing.'
/src/Controller/Component/FlashComponent.php142
'Authentication objects must implement an authenticate() method.'
/src/Controller/Component/AuthComponent.php837
sprintf('Auth storage adapter "%s" was not found.'$class)
/src/Controller/Component/AuthComponent.php876
'Authorization objects must implement an authorize() method.'
/src/Controller/Component/AuthComponent.php542
sprintf('Authentication adapter "%s" was not found.'$class)
/src/Controller/Component/AuthComponent.php834
sprintf($message'_Token')
/src/Controller/Component/SecurityComponent.php258
sprintf($message'_Token.fields')
/src/Controller/Component/SecurityComponent.php261
sprintf('Action %s is defined as the blackhole callback.'$this->_action)
/src/Controller/Component/SecurityComponent.php101
'Request is not SSL and the action is required to be secure'
/src/Controller/Component/SecurityComponent.php215
sprintf('Controller actions can only return ResponseInterface instance or null. ' 'Got %s instead.'getTypeName($result))
/src/Controller/Controller.php531
'The $path argument is expected to be an absolute path.'
/src/Filesystem/Folder.php422
sprintf('"%s" is not a directory'$path)
/src/Filesystem/Filesystem.php197
sprintf('Failed to create directory "%s"'$dir)
/src/Filesystem/Filesystem.php177
sprintf('Authorization adapter "%s" was not found.'$class)
/src/Controller/Component/AuthComponent.php539
'At least one authenticate object must be available.'
/src/Controller/Component/AuthComponent.php355
'Controller not set for ComponentRegistry'
/src/Controller/ComponentRegistry.php64
'Unable to locate an object compatible with paginate.'
/src/Controller/Controller.php784
'Unable to find plural rule number.'
/src/I18n/PluralRules.php203
sprintf('Translator fallback class %s does not match Cake\I18n\Translator, try clearing your _cake_core_ cache'get_class($fallback))
/src/I18n/TranslatorFactory.php58
'Your version of icu does not support creating a date formatter for ' "`$key`. You should try to upgrade libicu and the intl extension."
/src/I18n/DateFormatTrait.php252
sprintf('Loader "%s" in the chain did not return a valid Package object'$k)
/src/I18n/ChainMessagesLoader.php69
sprintf('Failed dumping content to file `%s`'$dir)
/src/Filesystem/Filesystem.php151
'Invalid format for MO translations file'
/src/I18n/Parser/MoFileParser.php77
'Invalid format for MO translations file'
/src/I18n/Parser/MoFileParser.php67
sprintf('Translator for domain "%s" could not be found.'$name)
/src/I18n/I18n.php158
sprintf('Unable to convert %s into binary.'gettype($value))
/src/Database/Type/BinaryType.php64
'Cannot convert a resource value to JSON'
/src/Database/Type/JsonType.php41
sprintf('Cannot use locale parsing with the %s class', static::$numberClass)
/src/Database/Type/FloatType.php154
sprintf('Cannot convert value of type `%s` to a decimal'getTypeName($value))
/src/Database/Type/DecimalType.php73
sprintf('Cannot use locale parsing with the %s class', static::$numberClass)
/src/Database/Type/DecimalType.php171
sprintf('Cannot use locale parsing with the %s class'$this->_className)
/src/Database/Type/DateTimeType.php373
sprintf('Could not find class %s'"{$name}FileParser")
/src/I18n/MessagesFileLoader.php136
sprintf('Loader "%s" in the chain is not a valid callable'$k)
/src/I18n/ChainMessagesLoader.php57
"Impossible to generate condition with empty list of values for field ($field)"
/src/Database/Expression/ComparisonExpression.php230
'You cannot mix subqueries and array data in inserts.'
/src/Database/Expression/ValuesExpression.php101
'Passing extra expressions by associative array is not ' 'allowed to avoid potential SQL injection. ' 'Use QueryExpression or numeric array instead.'
/src/Database/Expression/OrderByExpression.php78
'You must return an `ExpressionInterface` from a Closure passed to `query()`.'
/src/Database/Expression/CommonTableExpression.php106
sprintf('Cannot convert value of type `%s` to integer'getTypeName($value))
/src/Database/Type/IntegerType.php40
sprintf('Cannot convert value of type `%s` to bool'getTypeName($value))
/src/Database/Type/BoolType.php47
sprintf('Unable to convert %s into binary uuid.'gettype($value))
/src/Database/Type/BinaryUuidType.php85
sprintf('Cannot convert value of type `%s` to string'getTypeName($value))
/src/Database/Type/StringType.php51
sprintf('Update action is invalid. Must be one of %s'implode(',', static::$_validForeignKeyActions))
/src/Database/Schema/TableSchema.php648
'References must contain a table and column.'
/src/Database/Schema/TableSchema.php645
'Config setting "persistent" cannot be set to true, ' 'as the Sqlserver PDO driver does not support PDO::ATTR_PERSISTENT'
/src/Database/Driver/Sqlserver.php127
sprintf('Delete action is invalid. Must be one of %s'implode(',', static::$_validForeignKeyActions))
/src/Database/Schema/TableSchema.php654
"The `database` key for the `{$name}` SQLite connection needs to be a non-empty string."
/src/Database/Driver/Sqlite.php121
'Exceeded maximum number of parameters (2100) for prepared statements in Sql Server. ' 'This is probably due to a very large WHERE IN () clause which generates a parameter ' 'for each value in the array. ' 'If using an Association, try changing the `strategy` from select to subquery.'
/src/Database/Driver/Sqlserver.php209
'Expression is missing operator (IS, IS NOT) with `null` value.'
/src/Database/Expression/QueryExpression.php795
'Aliases are being removed from conditions for UPDATE/DELETE queries, ' 'this can break references to joined tables.'
/src/Database/Driver/SqlDialectTrait.php227
sprintf('Unable to parse column type from "%s"'$column)
/src/Database/Schema/MysqlSchemaDialect.php91
'Invalid value for "on": ' $on/src/Database/Schema/SchemaDialect.php75
sprintf('Unable to parse column type from "%s"'$column)
/src/Database/Schema/SqliteSchemaDialect.php61
sprintf('Cannot describe %s. It has 0 columns.'$name)
/src/Database/Schema/Collection.php102
sprintf('Index "%s" in table "%s" must have at least one column.'$name$this->_table)
/src/Database/Schema/TableSchema.php479
sprintf('Invalid index type "%s" in index "%s" in table "%s".'$attrs['type'], $name$this->_table)
/src/Database/Schema/TableSchema.php471
sprintf('Constraints in table "%s" must have at least one column.'$this->_table)
/src/Database/Schema/TableSchema.php565
sprintf('Invalid constraint type "%s" in table "%s".'$attrs['type'], $this->_table)
/src/Database/Schema/TableSchema.php562
sprintf('Invalid log level `%s`'$level)
/src/Log/Log.php363
sprintf('Could not load class %s'$class)
/src/Log/LogEngineRegistry.php57
sprintf('SMTP Error: %s'$response)
/src/Mailer/Transport/SmtpTransport.php524
'Socket is null, but must be set.'
/src/Mailer/Transport/SmtpTransport.php539
'SMTP authentication method not allowed, check if SMTP server requires TLS.'
/src/Mailer/Transport/SmtpTransport.php329
'AUTH command not recognized or not implemented, SMTP server may not require authentication.'
/src/Mailer/Transport/SmtpTransport.php332
'SMTP server did not accept the username.'
/src/Mailer/Transport/SmtpTransport.php321
'SMTP server did not accept the password.'
/src/Mailer/Transport/SmtpTransport.php326
'SMTP server did not accept the connection or trying to connect to non TLS SMTP server using TLS.'
/src/Mailer/Transport/SmtpTransport.php253
'SMTP server did not accept the connection.'
/src/Mailer/Transport/SmtpTransport.php261
'You must specify at least one recipient.' ' Use one of `setTo`, `setCc` or `setBcc` to define a recipient.'
/src/Mailer/AbstractTransport.php71
'Unable to connect to SMTP server.'
/src/Mailer/Transport/SmtpTransport.php226
sprintf('Transport config "%s" is invalid, the required `className` option is missing'$name)
/src/Mailer/TransportFactory.php92
compact('name')
/src/Mailer/MailerAwareTrait.php43
sprintf('Unknown email configuration "%s".'$name)
/src/Mailer/Email.php303
sprintf('The "%s" transport configuration does not exist'$name)
/src/Mailer/TransportFactory.php86
sprintf('The "%s" do not have send method.'get_class($transport))
/src/Mailer/Email.php255
sprintf('The value passed for the "$name" argument must be either a string, or an object, %s given.'gettype($name))
/src/Mailer/Email.php249
'Mailer transports must use Cake\Mailer\AbstractTransport as a base class.'
/src/Mailer/TransportRegistry.php84
sprintf('Mailer transport %s is not available.'$class)
/src/Mailer/TransportRegistry.php57
'Transport was not defined. ' 'You must set on using setTransport() or set `transport` option in your mailer profile.'
/src/Mailer/Mailer.php505
sprintf('The value passed for the "$name" argument must be either a string, or an object, %s given.'gettype($name))
/src/Mailer/Mailer.php484
'Transport class must extend Cake\Mailer\AbstractTransport'
/src/Mailer/Mailer.php481
sprintf('Unknown email configuration "%s".'$name)
/src/Mailer/Mailer.php415
'Unable to unserialize message.'
/src/Mailer/Message.php1904
sprintf('Invalid message type: "%s". Valid types are: "text", "html".'$type)
/src/Mailer/Message.php1502
sprintf('File must be a filepath or UploadedFileInterface instance. Found `%s` instead.'gettype($fileInfo['file']))
/src/Mailer/Message.php1181
sprintf('File not found: "%s"'$fileName)
/src/Mailer/Message.php1175
'No filename specified.'
/src/Mailer/Message.php1162
'No file or data specified.'
/src/Mailer/Message.php1159
'Invalid format to Message-ID. The text should be something like "<uuid@server.com>"'
/src/Mailer/Message.php1057
'Format not available.'
/src/Mailer/Message.php1009
'No reducer function was provided'
/src/Collection/Iterator/MapReduce.php183
sprintf('Transfer encoding not available. Can be : %s.'implode(', '$this->transferEncodingAvailable))
/src/Mailer/Message.php619
sprintf('The email set for "%s" is empty.'$context)
/src/Mailer/Message.php717
sprintf('Invalid email set for "%s". You passed "%s".'$context$email)
/src/Mailer/Message.php719
'The takeLast method requires a number greater than 0.'
/src/Collection/CollectionTrait.php423
sprintf("Invalid direction `%s` provided. Must be one of: 'desc', 'asc', 'leaves'"$order)
/src/Collection/CollectionTrait.php739
'Cannot find the cartesian product of a multidimensional array'
/src/Collection/CollectionTrait.php917
'Child arrays do not have even length'
/src/Collection/CollectionTrait.php971
'No compatible crypto engine available. ' 'Load the openssl extension.'
/src/Utility/Security.php178
sprintf('Invalid key for %s, key must be at least 256 bits (32 bytes) long.'$method)
/src/Utility/Security.php226
'The data to decrypt cannot be empty.'
/src/Utility/Security.php245
'Salt not set. Use Security::setSalt() to set one, ideally in `config/bootstrap.php`.'
/src/Utility/Security.php292
'No unit type.'
/src/Utility/Text.php1049
'Unable to create transliterator for id: ' $transliteratorId/src/Utility/Text.php1094
sprintf('Unable to transliterate string: %s'$string)
/src/Utility/Text.php1120
sprintf('The hash type `%s` was not found. Available algorithms are: %s'$algorithmimplode(', '$availableAlgorithms))
/src/Utility/Security.php72
'Invalid data type, must be an array or \ArrayAccess instance.'
/src/Utility/Hash.php129
sprintf('Invalid Parameter %s, should be dot separated path or array.'$path)
/src/Utility/Hash.php65
'Invalid data array to nest.'
/src/Utility/Hash.php1256
'Hash::combine() needs an equal number of keys + values.'
/src/Utility/Hash.php506
'Invalid array'
/src/Utility/Xml.php374
'Invalid array'
/src/Utility/Xml.php359
'Invalid data type, must be an array or \ArrayAccess instance.'
/src/Utility/Hash.php53
'The input is not instance of SimpleXMLElement, DOMDocument or DOMNode.'
/src/Utility/Xml.php443
'Xml cannot be read. ' $e->getMessage( )
/src/Utility/Xml.php220
'XML cannot be read.'
/src/Utility/Xml.php132
'The key of input must be alphanumeric'
/src/Utility/Xml.php279
'Invalid input.'
/src/Utility/Xml.php275
'Password hasher must extend AbstractPasswordHasher class.'
/src/Auth/PasswordHasherFactory.php54
sprintf('Password hasher class "%s" was not found.'$class)
/src/Auth/PasswordHasherFactory.php49
"Invalid input. {$type} cannot be parsed as XML."
/src/Utility/Xml.php125
sprintf('%s does not implement an isAuthorized() method.'get_class($this->_Controller))
/src/Auth/ControllerAuthorize.php89
'Session was already started'
/src/Http/Session.php348
sprintf('Unable to configure the session, setting %s failed.'$setting)
/src/Http/Session.php322
'The chosen SessionHandler does not implement SessionHandlerInterface, it cannot be used as an engine.'
/src/Http/Session.php277
sprintf('The class "%s" does not exist and cannot be used as a session engine'$class)
/src/Http/Session.php270
sprintf('Middleware "%s" was not found.'$middleware)
/src/Http/MiddlewareQueue.php74
sprintf('Expected session key "%s" not found.'$name)
/src/Http/Session.php464
'Could not close the session'
/src/Http/Session.php388
'Could not start the session'
/src/Http/Session.php356
'The cache configuration name to use is required'
/src/Http/Session/CacheSession.php50
"Invalid current position ($this->position)"
/src/Http/MiddlewareQueue.php278
"Invalid seek position ($position)"
/src/Http/MiddlewareQueue.php252
sprintf("No middleware matching '%s' could be found."$class)
/src/Http/MiddlewareQueue.php193
__d('cake''Missing or incorrect CSRF cookie type.')
/src/Http/Middleware/CsrfProtectionMiddleware.php286
'A CSRF token is already set in the request.' "\n" 'Ensure you do not have the CSRF middleware applied more than once. ' 'Check both your `Application::middleware()` method and `config/routes.php`.'
/src/Http/Middleware/CsrfProtectionMiddleware.php128
'You must install paragonie/csp-builder to use CspMiddleware'
/src/Http/Middleware/CspMiddleware.php48
'Requests to this URL must be made with HTTPS.'
/src/Http/Middleware/HttpsEnforcerMiddleware.php95
"You cannot unset '$name'. It is a required CakePHP attribute."
/src/Http/ServerRequest.php1618
"Invalid file at '{$path}{$key}'"
/src/Http/ServerRequest.php1728
sprintf('Unsupported HTTP method "%s" provided'$method)
/src/Http/ServerRequest.php921
"Unsupported protocol version '{$version}' provided"
/src/Http/ServerRequest.php1437
"Unknown type alias '$type'."
/src/Http/Client.php577
sprintf('Invalid authentication type %s'$name)
/src/Http/Client.php644
'Adapter must be an instance of Cake\Http\Client\AdapterInterface'
/src/Http/Client.php191
'Cookie must have a domain and a path set.'
/src/Http/Client.php223
sprintf('"%s" is an invalid content type.'$contentType)
/src/Http/Response.php730
'Invalid time parameter. Ensure your time value can be parsed by strtotime'
/src/Http/Response.php826
'Stream option must be an object that implements StreamInterface'
/src/Http/Response.php451
sprintf('Invalid status code: %s. Use a valid HTTP status code in range 1xx - 5xx.'$code)
/src/Http/Response.php631
__d('cake''The requested file was not found')
/src/Http/Response.php1498
'Cannot set the event manager, the application does not support events.'
/src/Http/Server.php172
__d('cake''The requested file contains `..` and will not be read.')
/src/Http/Response.php1490
sprintf('The requested file %s was not found or not readable'$path)
/src/Http/Response.php1496
$msg $failure/src/Core/ObjectRegistry.php161
sprintf('Cannot unset %s value'$key)
/src/Core/InstanceConfigTrait.php299
'If config is null, key must be an array.'
/src/Core/StaticConfigTrait.php80
sprintf('Unknown object "%s"'$name)
/src/Core/ObjectRegistry.php231
sprintf('Expected configuration `%s` not found.'$key)
/src/Core/StaticConfigTrait.php135
sprintf('Cannot reconfigure existing key "%s"'$key)
/src/Core/StaticConfigTrait.php91
"`$hook` is not a valid hook name. Must be one of " implode(', ', static::VALID_HOOKS)
/src/Core/BasePlugin.php242
"The DSN string '{$dsn}' could not be parsed."
/src/Core/StaticConfigTrait.php253
'Cannot load/dump configuration files with ../ in them.'
/src/Core/Configure/FileConfigTrait.php47
"The `{$hook}` hook is not a known plugin hook."
/src/Core/PluginCollection.php338
sprintf('Error parsing JSON string fetched from config file "%s.json": %s'$keyjson_last_error_msg( ))
/src/Core/Configure/Engine/JsonConfig.php84
sprintf('Could not load configuration file: %s'$file)
/src/Core/Configure/FileConfigTrait.php69
sprintf('Config file "%s" did not return an array'$key '.php')
/src/Core/Configure/Engine/PhpConfig.php94
sprintf('Decoding JSON config file "%s.json" did not return an array'$key)
/src/Core/Configure/Engine/JsonConfig.php91
sprintf('Method "%s()" does not exist'$name)
/src/Http/ServerRequest.php450
'The `uri` key must be an instance of ' UriInterface::class
/src/Http/ServerRequest.php261
"Unknown editor `{$name}`. Known editors are {$known}"
/src/Error/Debugger.php294
"Cannot format editor URL `{$editor}` is not a known editor."
/src/Error/Debugger.php311
"The `{$class}` formatter does not implement " FormatterInterface::class
/src/Error/Debugger.php593
'Invalid Debugger output format.'
/src/Error/Debugger.php804
sprintf("The '%s' renderer class could not be found."$renderer)
/src/Error/ErrorHandler.php163
sprintf('$errorHandler argument must be a config array or ErrorHandler instance. Got `%s` instead.'getTypeName($errorHandler))
/src/Error/Middleware/ErrorHandlerMiddleware.php102
'Unknown node received ' get_class($var)
/src/Error/Debug/ConsoleFormatter.php147
'Unknown node received ' get_class($var)
/src/Error/Debug/TextFormatter.php94
'Unknown node received ' get_class($var)
/src/Error/Debug/HtmlFormatter.php152
sprintf('Expected configuration key "%s" not found.'$var)
/src/Core/Configure.php166
sprintf('Expected configuration key "%s" not found.'$var)
/src/Core/Configure.php206
sprintf('There is no "%s" config engine.'$config)
/src/Core/Configure.php377
'You must install cakephp/cache to use Configure::store()'
/src/Core/Configure.php451
'You must install cakephp/cache to use Configure::restore()'
/src/Core/Configure.php469
sprintf('Expected configuration `%s` not found.'$key)
/src/Core/InstanceConfigTrait.php143
sprintf('Cannot set %s value'$key)
/src/Core/InstanceConfigTrait.php265
'You must return a `WindowExpression` from a Closure passed to `window()`.'
/src/Database/Query.php1427
'You must return a `CommonTableExpression` from a Closure passed to `with()`.'
/src/Database/Query.php430
'Could not compile insert query. No table was specified. ' 'Use `into()` to define a table.'
/src/Database/SqlserverCompiler.php93
'Invalid argument for FunctionsBuilder::now(): ' $type/src/Database/FunctionsBuilder.php269
'The `$type` in a cast cannot be empty.'
/src/Database/FunctionsBuilder.php151
'For logging you must either set a logger using Connection::setLogger()' ' or require the cakephp/log package in your composer config.'
/src/Database/Connection.php901
'To use caching you must either set a cacher using Connection::setCacher()' ' or require the cakephp/cache package in your composer config.'
/src/Database/Connection.php831
'Could not compile insert query. No table was specified. ' 'Use `into()` to define a table.'
/src/Database/QueryCompiler.php382
sprintf('Unable to parse column type from "%s"'$column)
/src/Database/Schema/PostgresSchemaDialect.php84
sprintf('Fetch type for PDOStatement must be an integer, found `%s` instead'getTypeName($type))
/src/Database/Statement/PDOStatement.php152
sprintf('Fetch type for PDOStatement must be an integer, found `%s` instead'getTypeName($type))
/src/Database/Statement/PDOStatement.php115
"The '$name' clause is not defined. Valid clauses are: $clauses"
/src/Database/Query.php1948
'You cannot add values before defining columns to use.'
/src/Database/Query.php1688
'You cannot add values before defining columns to use.'
/src/Database/Query.php1683
'At least 1 column is required to perform an insert.'
/src/Database/Query.php1617
'Pages must start at 1.'
/src/Database/Query.php1455
'The `memcached` extension must be enabled to use MemcachedEngine.'
/src/Cache/Engine/MemcachedEngine.php107
'Invalid cache configuration. Multiple persistent cache configurations are detected' ' with different `servers` values. `servers` values for persistent cache configurations' ' must be the same when using the same persistence id.'
/src/Cache/Engine/MemcachedEngine.php154
'Files cannot be atomically incremented.'
/src/Cache/Engine/FileEngine.php335
"Cache key `{$key}` contains invalid characters. " 'You cannot use /, \\, <, >, ?, :, |, *, or " in cache keys.'
/src/Cache/Engine/FileEngine.php427
'The `redis` extension must be enabled to use RedisEngine.'
/src/Cache/Engine/RedisEngine.php80
'Files cannot be atomically decremented.'
/src/Cache/Engine/FileEngine.php322
'Offset cannot be less than 0.'
/src/Cache/Cache.php394
sprintf('Invalid cache group %s'$group)
/src/Cache/Cache.php521
sprintf('Unknown type "%s"'$name)
/src/Database/TypeFactory.php78
'Please pass "username" instead of "login" for connecting to the database'
/src/Database/Driver.php108
'The `wincache` extension must be enabled to use WincacheEngine.'
/src/Cache/Engine/WincacheEngine.php48
'The `apcu` extension must be enabled to use ApcuEngine.'
/src/Cache/Engine/ApcuEngine.php47
sprintf('%s is not a valid serializer engine for Memcached'$serializer)
/src/Cache/Engine/MemcachedEngine.php216
sprintf('Memcached extension is not compiled with %s support'$serializer)
/src/Cache/Engine/MemcachedEngine.php225
'Please pass "username" instead of "login" for connecting to Memcached'
/src/Cache/Engine/MemcachedEngine.php182
'Memcached extension is not built with SASL support'
/src/Cache/Engine/MemcachedEngine.php189
self::class . ' Missing subject filter options!'
/src/Event/Decorator/SubjectFilterDecorator.php56
'No subject set for this event'
/src/Event/Event.php113
'A cache key must be a non-empty string.'
/src/Cache/CacheEngine.php103
self::class . ' the `' $condition '` condition is not a callable!'
/src/Event/Decorator/ConditionDecorator.php70
sprintf('Cookie %s not found. Use has() to check first for existence.'$name)
/src/Http/Cookie/CookieCollection.php141
'Samesite value must be either of: ' implode(', 'CookieInterface::SAMESITE_VALUES)
/src/Http/Cookie/Cookie.php661
'First argument of EventManager::off() must be ' ' string or EventListenerInterface instance or callable.'
/src/Event/EventManager.php188
sprintf('Expected `%s[]` as $cookies but instead got `%s` at index %d', static::class, getTypeName($cookie), $index)
/src/Http/Cookie/CookieCollection.php199
sprintf('The "%s" cache configuration does not exist.'$name)
/src/Cache/Cache.php149
sprintf('Cache engine %s is not properly configured.'get_class($instance))
/src/Cache/CacheRegistry.php90
'Offset cannot be less than 0.'
/src/Cache/Cache.php375
sprintf('"%s" cache configuration cannot fallback to itself.'$name)
/src/Cache/Cache.php171
'TTL values must be one of null, int, \DateInterval'
/src/Cache/CacheEngine.php385
sprintf('A cache %s must be either an array or a Traversable.'$check === self::CHECK_VALUE 'key set' 'set')
/src/Cache/CacheEngine.php118
'Cache engines must use Cake\Cache\CacheEngine as a base class.'
/src/Cache/CacheRegistry.php84
sprintf('Cache engine %s is not available.'$class)
/src/Cache/CacheRegistry.php59
'Cannot decompress gzip response body without gzinflate()'
/src/Http/Client/Response.php153
'Invalid gzip response'
/src/Http/Client/Response.php165
'Connection timed out ' $url/src/Http/Client/Adapter/Stream.php279
'The PHP directive `allow_url_fopen` must be enabled.'
/src/Http/Client/Adapter/Stream.php313
__d('cake''Missing or invalid CSRF cookie.')
/src/Http/Middleware/CsrfProtectionMiddleware.php290
__d('cake''CSRF token from either the request body or request headers did not match or is missing.')
/src/Http/Middleware/CsrfProtectionMiddleware.php311
'The 2nd arg $url can not be empty when `allow-from` is used'
/src/Http/Middleware/SecurityHeadersMiddleware.php176
sprintf('Invalid arg `%s`, use one of these: %s'$valueimplode(', '$allowed))
/src/Http/Middleware/SecurityHeadersMiddleware.php240
'RSA-SHA1 signature method requires the OpenSSL extension.'
/src/Http/Client/Auth/Oauth.php175
sprintf('Invalid type `%s` for expires. Expected an string, integer or DateTime object.'getTypeName($expires))
/src/Http/Cookie/Cookie.php253
sprintf('The cookie name `%s` contains invalid characters.'$name)
/src/Http/Cookie/Cookie.php407
'The cookie name cannot be empty.'
/src/Http/Cookie/Cookie.php412
implode("\n"$this->_connectionErrors)
/src/Http/Client/Adapter/Stream.php329
'curl extension is not loaded.'
/src/Http/Client/Adapter/Curl.php44
'libcurl 7.33 or greater required for HTTP/2 support'
/src/Http/Client/Adapter/Curl.php185
sprintf('Unknown Oauth signature method %s'$credentials['method'])
/src/Http/Client/Auth/Oauth.php88
sprintf('You cannot configure "%s", it has already been constructed.'$alias)
/src/ORM/Locator/TableLocator.php93
sprintf('You are required to select the "%s" field(s)'implode(', ', (array) $key))
/src/ORM/Association/Loader/SelectLoader.php268
sprintf('"%s" is missing from the belongsToMany results. Results cannot be created.'$this->junctionProperty)
/src/ORM/Association/Loader/SelectWithPivotLoader.php179
sprintf($msg$this->_nameimplode(', '$foreignKey), implode(', '$bindingKey))
/src/ORM/Association/BelongsTo.php167
sprintf($msg$this->getTarget( )->getTable( ))
/src/ORM/Association/BelongsTo.php163
"The existing `{$tAlias}` association on `{$junction->getAlias( )}` " "is incompatible with the `{$this->getName( )}` association on `{$source->getAlias( )}`"
/src/ORM/Association/BelongsToMany.php420
sprintf('The `%s` association on `%s` cannot target the same table.'$this->getName( ), $source->getAlias( ))
/src/ORM/Association/BelongsToMany.php290
sprintf('Cannot call method "%s" on a "%s" query'$method$this->type( ))
/src/ORM/Query.php1303
'You cannot call all() on a non-select query. Use execute() instead.'
/src/ORM/Query.php1055
'You cannot cache the results of non-select queries.'
/src/ORM/Query.php1039
'You must provide either an Association or a Table object'
/src/ORM/Query.php254
sprintf('Argument 1 is expected to be of type `\Cake\ORM\Association|string`, `%s` given.'getTypeName($association))
/src/ORM/RulesChecker.php216
sprintf('Undefined property `%s`. ' 'You have not defined the `%s` association on `%s`.'$property$property, static::class)
/src/ORM/Table.php2600
sprintf('Unknown method "%s" called on %s'$method, static::class)
/src/ORM/Table.php2584
'Cannot mix "and" & "or" in a magic finder. Use find() instead.'
/src/ORM/Table.php2542
sprintf('Not enough arguments for magic finder. Got %s required %s'count($args), count($fields))
/src/ORM/Table.php2527
'Cache configs must be strings or \Psr\SimpleCache\CacheInterface instances.'
/src/Datasource/QueryCacher.php64
'Cannot set an empty field'
/src/Datasource/EntityTrait.php233
sprintf("ExistsIn rule for '%s' is invalid. '%s' is not associated with '%s'."implode(', '$this->_fields), $this->_repositoryget_class($options['repository']))
/src/ORM/Rule/ExistsIn.php86
'Cache keys must be strings or callables.'
/src/Datasource/QueryCacher.php59
sprintf('The number of fields is expected to match the number of values, got %d field(s) and %d value(s).'count($fields), count($values))
/src/ORM/Rule/LinkConstraint.php152
sprintf('LinkConstraint rule on `%s` requires all primary key values for building the counting ' 'conditions, expected values for `(%s)`, got `(%s)`.'$source->getAlias( ), implode(', '$primaryKey), implode(', '$entity->extract($primaryKey)))
/src/ORM/Rule/LinkConstraint.php175
'Argument 2 is expected to match one of the `\Cake\ORM\Rule\LinkConstraint::STATUS_*` constants.'
/src/ORM/Rule/LinkConstraint.php77
'Argument 2 is expected to have a `repository` key that holds an instance of `\Cake\ORM\Table`.'
/src/ORM/Rule/LinkConstraint.php99
'TimestampBehavior only supports columns of type DateTimeType.'
/src/ORM/Behavior/TimestampBehavior.php223
sprintf('Argument 1 is expected to be of type `\Cake\ORM\Association|string`, `%s` given.'getTypeName($association))
/src/ORM/Rule/LinkConstraint.php69
"Node \"{$id}\" was not found in the tree."
/src/ORM/Behavior/TreeBehavior.php808
sprintf('When should be one of "always", "new" or "existing". The passed value "%s" is invalid'$when)
/src/ORM/Behavior/TimestampBehavior.php106
"The 'for' key is required for find('path')"
/src/ORM/Behavior/TreeBehavior.php381
"The 'for' key is required for find('children')"
/src/ORM/Behavior/TreeBehavior.php456
"Cannot set a node's parent as itself"
/src/ORM/Behavior/TreeBehavior.php109
sprintf('Cannot use node "%s" as parent for entity "%s"'$parent$entity->get($this->_getPrimaryKey( )))
/src/ORM/Behavior/TreeBehavior.php265
sprintf('You cannot configure "%s", it already exists in the registry.'$alias)
/src/Datasource/Locator/AbstractLocator.php48
sprintf('`$factory` must be an instance of Cake\Datasource\Locator\LocatorInterface or a callable.' ' Got type `%s` instead.'getTypeName($factory))
/src/Datasource/ModelAwareTrait.php144
'The $range argument requires 2 numbers'
/src/Validation/Validator.php1387
sprintf('Invalid settings for "%s". Settings must be an array.'$fieldName)
/src/Validation/Validator.php1145
sprintf('`$factory` must be an instance of Cake\Datasource\Locator\LocatorInterface or a callable.' ' Got type `%s` instead.'getTypeName($factory))
/src/Datasource/FactoryLocator.php45
'Wrong checking mode: ' $mode/src/Datasource/RulesChecker.php244
'Default modelClass is empty'
/src/Datasource/ModelAwareTrait.php98
sprintf('Unknown repository type "%s". Make sure you register a type before trying to use it.'$type)
/src/Datasource/FactoryLocator.php80
sprintf('Unknown method "%s"'$method)
/src/Datasource/QueryTrait.php504
sprintf('Record not found in table "%s"'$table->getTable( ))
/src/Datasource/QueryTrait.php458
'No repository set for query.'
/src/Datasource/Paginator.php172
sprintf('Cannot create alias of "%s" as it does not exist.'$alias)
/src/Datasource/ConnectionManager.php163
'Cannot get an empty field'
/src/Datasource/EntityTrait.php307
'Cannot get an empty field'
/src/Datasource/EntityTrait.php278
'$formatter can be null only when $mode is overwrite.'
/src/Datasource/QueryTrait.php398
'$mapper can be null only when $overwrite is true.'
/src/Datasource/QueryTrait.php335
"The $name is not a known command name."
/src/Console/CommandCollection.php137
sprintf('Short option "%s" is invalid, short options must be one letter.'$this->_short)
/src/Console/ConsoleInputOption.php125
sprintf('"%s" is not a valid value for --%s. Please use one of "%s"', (string) $value$this->_nameimplode(', '$this->_choices))
/src/Console/ConsoleInputOption.php257
sprintf('"%s" is not a valid value for %s. Please use one of "%s"'$value$this->_nameimplode(', '$this->_choices))
/src/Console/ConsoleInputArgument.php168
sprintf('Unsupported coordinate type "%s". Use "latLong" instead.'$options['type'])
/src/Validation/Validation.php1514
'Not creating file. Quitting.'
/src/Console/ConsoleIo.php603
sprintf("Cannot use '%s' for command '%s'. " "It is not a subclass of Cake\Console\Shell or Cake\Command\CommandInterface."$class$name)
/src/Console/CommandCollection.php68
"The command name `{$name}` is invalid. Names can only be a maximum of three words."
/src/Console/CommandCollection.php77
'Cannot validate mimetype for a missing file'
/src/Validation/Validation.php1230
'Can not determine the mimetype.'
/src/Validation/Validation.php1237
'Invalid image size validation parameters! Missing `width` and / or `height`.'
/src/Validation/Validation.php1418
'The 2nd argument is missing the `width` and / or `height` options.'
/src/Validation/Validation.php1447
'The $range argument requires 2 numbers'
/src/Validation/Validator.php2076
sprintf('The %s::%s() validation method must return an instance of %s.', static::class, $methodValidator::class)
/src/Validation/ValidatorAwareTrait.php129
'Unsupported parser type given.'
/src/Validation/Validation.php674
'ext/fileinfo is required for validating file mime types'
/src/Validation/Validation.php1226
"Unknown option `{$name}`."
/src/Console/ConsoleOptionParser.php880
"Unknown short option `{$key}`."
/src/Console/ConsoleOptionParser.php858
sprintf('Missing required option. The `%s` option is required and has no default value.'$name)
/src/Console/ConsoleOptionParser.php728
sprintf('Missing required argument. The `%s` argument is required.'$arg->name( ))
/src/Console/ConsoleOptionParser.php711
"Unknown command `{$this->root} {$name}`. " "Run `{$this->root} --help` to get the list of commands."
/src/Console/CommandRunner.php314
'Cannot set the event manager, the application does not support events.'
/src/Console/CommandRunner.php232
'Cannot run any commands. No arguments received.'
/src/Console/CommandRunner.php149
"Received too many arguments. Got {$next} but only {$expected} arguments are defined."
/src/Console/ConsoleOptionParser.php946
'You cannot add sub-commands to `Command` sub-classes. Instead make a separate command.'
/src/Console/BaseCommand.php116
"The name '{$name}' is missing a space. Names should look like `cake routes`"
/src/Console/BaseCommand.php50
'"name" not provided for console option parser'
/src/Console/ConsoleInputSubcommand.php66
sprintf('Invalid output type "%s".'$type)
/src/Console/ConsoleOutput.php342
'A required argument cannot follow an optional one'
/src/Console/ConsoleOptionParser.php506
"Command '{$commandType}' is not a subclass of Cake\Console\CommandInterface."
/src/Console/BaseCommand.php261
"Command class '{$command}' does not exist."
/src/Console/BaseCommand.php254
'Command aborted'
/src/Console/BaseCommand.php239
'View::$layout must be a non-empty string.' 'To disable layout rendering use method View::disableAutoLayout() instead.'
/src/View/View.php770
'Invalid data provided for array_combine() to work: Both $name and $value require same count.'
/src/View/View.php865
$name $this->_ext/src/View/View.php661
'Cannot cache content with an empty key'
/src/View/View.php685
'You cannot have templates extend in a loop.'
/src/View/View.php1063
sprintf('The "%s" block was left open. Blocks are not allowed to cross files.', (string) $this->Blocks->active( ))
/src/View/View.php1152
sprintf('You cannot extend an element which does not exist (%s).'$defaultPath $name $this->_ext)
/src/View/View.php1046
'You cannot have templates extend themselves.'
/src/View/View.php1060
'Invalid encryption scheme chosen'
/src/Network/Socket.php473
'You must call connect() first.'
/src/Network/Socket.php486
sprintf('Task `%s` not found. Maybe you made a typo or a plugin is missing or not loaded?'$taskName)
/src/Console/Shell.php309
'Halting error reached'
/src/Console/Shell.php927
"Cannot find template named '$name'."
/src/View/StringTemplate.php237
'Serialization of View data failed.'
/src/View/SerializedView.php114
'Callback option must be a callable.'
/src/Shell/Helper/ProgressHelper.php79
'String template filename cannot be an empty string'
/src/View/StringTemplate.php206
'FormHelper::create() must be called first for FormProtector instance to be created.'
/src/View/Helper/FormHelper.php681
sprintf('Class for %s could not be found'$config['engine'])
/src/View/Helper/TextHelper.php89
sprintf('Missing field name for FormHelper::%s'$method)
/src/View/Helper/FormHelper.php1578
"Invalid type 'input' used for field '$fieldName'"
/src/View/Helper/FormHelper.php1190
sprintf('Class for %s could not be found'$config['engine'])
/src/View/Helper/NumberHelper.php72
sprintf('Invalid value source(s): %s. Valid values are: %s'implode(', '$diff), implode(', '$this->supportedValueSources))
/src/View/Helper/FormHelper.php2508
sprintf("No crumb could be found at index '%s'"$index)
/src/View/Helper/BreadcrumbsHelper.php158
sprintf('Value for flash setting key "%s" must be an array.'$key)
/src/View/Helper/FlashHelper.php82
sprintf('Cannot use "%s" as a template, it is not within any view template path.'$file)
/src/View/View.php1386
'Template name not provided'
/src/View/View.php1328
sprintf("A view block with the name '%s' is already/still open."$name)
/src/View/ViewBlock.php91
'View::$layout must be a non-empty string.' 'To disable layout rendering use method View::disableAutoLayout() instead.'
/src/View/View.php1433
sprintf('Failed serializing the `%s` %s in the `%s` view var'is_resource($item) ? get_resource_type($item) : get_class($item), is_resource($item) ? 'resource' 'object'$key)
/src/View/ViewBuilder.php623
json_last_error_msg( )
/src/View/JsonView.php155
sprintf('Could not render cell - %s [%s, line %d]'$e->getMessage( ), $e->getFile( ), $e->getLine( ))
/src/View/Cell.php275
sprintf('Class %s does not have a "%s" method.', static::class, $this->action)
/src/View/Cell.php174
sprintf('Invalid type `%s` for input tag, expected datetime-local, date, time, month or week'$data['type'])
/src/View/Widget/DateTimeWidget.php113
'Max year cannot be less than min year'
/src/View/Widget/YearWidget.php95
sprintf('Widget objects must implement `%s`. Got `%s` instance instead.'WidgetInterface::class, getTypeName($widget))
/src/View/Widget/WidgetLocator.php127
sprintf('Unknown widget `%s`'$name)
/src/View/Widget/WidgetLocator.php158
'Widget config must be a string or array.'
/src/View/Widget/WidgetLocator.php195
sprintf('Unable to locate widget class "%s"'$class)
/src/View/Widget/WidgetLocator.php201
"Cannot create logger. `{$type}` does not implement `{$interface}`."
/src/Error/BaseErrorHandler.php358
"Invalid editor type of `{$type}`. Expected string or Closure."
/src/Error/Debugger.php278
sprintf("No crumb matching '%s' could be found."$matchingTitle)
/src/View/Helper/BreadcrumbsHelper.php190
sprintf("No crumb matching '%s' could be found."$matchingTitle)
/src/View/Helper/BreadcrumbsHelper.php220
sprintf('No context provider found for value of type `%s`.' ' Use `null` as 1st argument of FormHelper::create() to create a context-less form.'getTypeName($data['entity']))
/src/View/Form/ContextFactory.php154
'Unable to find table class for current entity.'
/src/View/Form/EntityContext.php152
sprintf('Unable to fetch property "%s"'implode('.'$path))
/src/View/Form/EntityContext.php391
sprintf('Unable to fetch property "%s"'implode('.'$path))
/src/View/Form/EntityContext.php417
1/src/basics.php149
sprintf('The beforeSave callback must return `false` or `EntityInterface` instance. Got `%s` instead.'getTypeName($result))
/src/ORM/Table.php1910
sprintf('Unknown finder method "%s" on %s.'$type, static::class)
/src/ORM/Table.php2493
sprintf('Record not found in table "%s" with primary key [%s]'$this->getTable( ), implode(', '$primaryKey))
/src/ORM/Table.php1493
sprintf('Search criteria must be an array, callable or Query. Got "%s"'getTypeName($search))
/src/ORM/Table.php1663
'ORM queries generate field aliases using the table name/alias and column name. ' "The table alias `{$table}` and column `{$name}` create an alias longer than ({$nameLength}). " 'You must change the table schema in the database and shorten either the table or column ' 'identifier so they fit within the database alias limits.'
/src/ORM/Table.php579
sprintf('The %s behavior is not defined on %s.'$name, static::class)
/src/ORM/Table.php852
'No instance set.'
/src/ORM/EagerLoadable.php176
"Unable to check max alias lengths for  `{$this->getAlias( )}` without schema."
/src/ORM/Table.php563
sprintf('Table `%s` is not associated with `%s`'get_class($table), $association)
/src/ORM/SaveOptionsBuilder.php128
sprintf('The method %s is not callable on class %s'$method, static::class)
/src/ORM/Behavior.php244
sprintf('Cannot call "%s" it does not belong to any attached behavior.'$method)
/src/ORM/BehaviorRegistry.php256
sprintf('Cannot call finder "%s" it does not belong to any attached behavior.'$type)
/src/ORM/BehaviorRegistry.php280
sprintf($msg$table)
/src/ORM/Association.php1100
sprintf($msg$this->_nameimplode(', '$foreignKey), implode(', '$bindingKey))
/src/ORM/Association.php1104
sprintf('Query builder for association "%s" did not return a query'$this->getName( ))
/src/ORM/Association.php747
"`{$this->getName( )}` association cannot contain() associations when using JOIN strategy."
/src/ORM/Association.php760
sprintf('Invalid strategy "%s" was provided. Valid options are (%s).'$nameimplode(', '$this->_validStrategies))
/src/ORM/Association.php630
sprintf($errorMessage$this->_sourceTable === null 'null' get_class($this->_sourceTable), $this->getName( ), $this->type( ), get_class($this->_targetTable), $className)
/src/ORM/Association.php406
sprintf('The class name "%s" doesn\'t match the target table class name of "%s".'$classNameget_class($this->_targetTable))
/src/ORM/Association.php316
sprintf('Association name "%s" does not match target table alias "%s".'$name$alias)
/src/ORM/Association.php255
sprintf('Cannot set containments. To use $queryBuilder, $associations must be a string')
/src/ORM/EagerLoader.php140
sprintf('validate must be a boolean, a string or an object. Got %s.'getTypeName($options['validate']))
/src/ORM/Marshaller.php268
sprintf('Cannot marshal data for "%s" association. It is not associated with "%s".', (string) $key$this->_table->getAlias( ))
/src/ORM/Marshaller.php98
'No response set, cannot assert content.'
/src/TestSuite/Constraint/Response/ResponseBase.php42
sprintf('Event "%s" was fired %d times, cannot make data assertion'$othercount($events))
/src/TestSuite/Constraint/EventFiredWith.php91
'The event manager you are asserting against is not configured to track events.'
/src/TestSuite/Constraint/EventFiredWith.php54
'The event manager you are asserting against is not configured to track events.'
/src/TestSuite/Constraint/EventFired.php47
sprintf('Referenced fixture class %s not found'$name)
/src/TestSuite/Fixture/FixtureManager.php457
sprintf('Cannot describe schema for table `%s` for fixture `%s`: the table does not exist.'$this->table, static::class)
/src/TestSuite/Fixture/TestFixture.php257
'Cannot import from undefined table.'
/src/TestSuite/Fixture/TestFixture.php232
'You cannot define both table and model.'
/src/TestSuite/Fixture/TestFixture.php226
'You can use `$input` only if `$_in` property is null and will be reset.'
/src/TestSuite/ConsoleIntegrationTestTrait.php112
"Missing required route key `{$key}`"
/src/Routing/Route/Route.php800
'No fixture manager to load the test fixture'
/src/TestSuite/TestCase.php186
sprintf('Cannot load "%s" to load routes from.'$className)
/src/TestSuite/TestCase.php223
"Cannot load `{$this->_class}` for use in integration testing."
/src/TestSuite/MiddlewareDispatcher.php90
sprintf('Need a valid callable to connect routes. Got `%s` instead.'getTypeName($callback))
/src/Routing/RouteBuilder.php912
sprintf("The middleware named '%s' has not been registered. Use registerMiddleware() to define it."$name)
/src/Routing/RouteCollection.php490
sprintf('Route `%s` expects the URL option `_entity` to be an array or object implementing \ArrayAccess, ' 'but `%s` passed.'$this->templategetTypeName($entity))
/src/Routing/Route/EntityRoute.php74
sprintf('Invalid HTTP method received. `%s` is invalid.'implode(', '$diff))
/src/Routing/Route/Route.php199
"Could not parse a string route path `{$url}`."
/src/Routing/Router.php979
sprintf('Cannot find route class %s'$options['routeClass'])
/src/Routing/RouteBuilder.php719
sprintf($msg$param$val$param$defaults[$param])
/src/Routing/RouteBuilder.php734
'Route class not found, or route class is not a subclass of Cake\Routing\Route\Route'
/src/Routing/RouteBuilder.php755
"`$key` cannot be used when defining route targets with a string route path."
/src/Routing/Router.php938
'`stream` not a ConsoleOutput nor string'
/src/Log/Engine/ConsoleLog.php71
sprintf('Loggers must implement %s. Found `%s` instance instead.'LoggerInterface::class, getTypeName($instance))
/src/Log/LogEngineRegistry.php90
'Validator not found: ' $key/src/View/Form/EntityContext.php609
sprintf('Unable to fetch property "%s"'implode('.'$path))
/src/View/Form/EntityContext.php458