ErrLookup › mongodb/laravel-mongodb
mongodb/laravel-mongodb
A MongoDB based Eloquent model and Query builder for Laravel (Moloquent) · PHP · 53 source files
Analyzed at 0634653039 on 2026-09-15. 58 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Constraints on the embedded relation | exception | error | mongodb, eloquent, embedded-relations, aggregate, logic-exception |
| The relation key of type | exception | error | mongodb, eloquent, aggregate, type-mismatch, invalid-argument |
| is not supported for hybrid query constraints. | exception | error | |
| GridFS adapter for Flysystem is missing. Try running… | exception | error | |
| The "mongodb" batch driver requires a MongoDB connection… | exception | error | |
| Aggregating by group requires zero or one columns. | exception | error | aggregation, group, columns |
| Aggregating the hybrid relation | exception | error | mongodb, eloquent, hybrid-relations, aggregate, sql |
| This method is not supported by MongoDB. Try "toMql()"… | exception | error | mongodb, laravel, sql, unsupported-method |
| Please pass a valid MongoDB command | exception | error | mcp-tool, mongodb, empty-argument, mql |
| The database connection | exception | error | |
| Lock lottery must be a couple of integers [$chance, $total]… | exception | error | configuration, cache, locks |
| The MongoDB Scout collection | exception | error | php, laravel-scout, configuration, data-safety |
| Unexpected value for GridFS "bucket" configuration… | exception | error | gridfs, flysystem, config, type-mismatch |
| Missing expected starting delimiter in regular expression | exception | error | php, laravel-mongodb, regex |
| is not supported for relation aggregates. | exception | error | mongodb, eloquent, morph-to, aggregate, unsupported-relation |
| Aggregation builder requires package mongodb/builder 0.2+ | exception | error | aggregation, composer, version |
| This method is not supported by MongoDB | exception | error | mongodb, laravel, query-builder, unsupported-method |
| BSON type cannot be converted to string | exception | error | casts, bson, decimal |
| The value used as a document id or relation key cannot… | exception | error | php, laravel-mongodb, security, nosql-injection |
| Only read aggregation stages are allowed. Found | exception | error | mongodb, aggregation, read-only, mcp-tool, invalid-argument |
| Aggregation nesting exceeds the maximum of | exception | error | mongodb, aggregation, nesting-limit, mcp-tool |
| Invalid search index definition for collection | exception | error | php, laravel-scout, atlas-search, index-configuration |
| Missing expected ending delimiter | exception | error | php, laravel-mongodb, regex |
| Method ::initializeModelAttributes() requires Laravel 13 or… | exception | error | eloquent, compatibility, version |
| 2nd argument of () must be "null" when 1st argument is an… | exception | error | php, laravel-mongodb, argument-validation |
| Between $values must be a list with exactly two elements… | exception | error | php, laravel-mongodb, argument-validation |
| Unexpected SortDirection enum case. | exception | error | sort, enum, order-by |
| The "query" and "model" parameters of vectorSearch()… | exception | error | php, laravel-mongodb, vector-search, dependency-version |
| Constant ::SCHEMA_VERSION is required when using… | exception | error | eloquent, schema-version, trait |
| This method is not supported by MongoDB. Use vectorSearch()… | exception | error | query-builder, vector-search, unsupported-method, mongodb |
| Aggregation builder does not support previous query-builder… | exception | error | aggregation, match, builder |
| Cannot have both "id" and "_id" fields. | exception | error | php, mongodb, query-builder, validation |
| Only read commands are allowed | exception | error | mcp-tool, mongodb, read-only, mql, unsupported-operation |
| This method is not supported by MongoDB. Use vectorSearch()… | exception | error | query-builder, vector-search, unsupported-method, mongodb |
| There is no active session. | exception | error | transactions, state |
| Query not compatible with cursor | exception | error | cursor, lazy-collection, aggregation |
| The aggregate column name | exception | error | eloquent, aggregates, naming |
| Cannot have both " " and " " fields. | exception | error | php, mongodb, query-builder, key-conflict |
| Database is not properly configured. | exception | error | configuration, mongodb, dsn |
| Aggregate function " " is not supported by MongoDB… | exception | error | eloquent, aggregates, api-misuse |
| Ordering by the aggregated field | exception | error | mongodb, eloquent, aggregate, ordering, logic-exception |
| Atlas search index operation time out after | exception | warning | php, laravel-scout, atlas-search, timeout |
| Read-only Adapter for Flysystem is missing. Try running… | exception | error | flysystem, composer, missing-package |
| A pipeline exceeds the maximum of | exception | error | mongodb, aggregation, pipeline-limit, mcp-tool |
| Too few arguments to function | exception | error | php, laravel-mongodb, argument-count |
| Distinct queries cannot be used for pagination. Use GroupBy… | exception | error | php, laravel-mongodb, pagination |
| Invalid time format, expected HH:MM:SS, HH:MM or HH, got | exception | error | php, laravel-mongodb, date-time |
| Related model must be a document model. | exception | error | php, mongodb, eloquent, relations |
| MongoDB connection configuration requires "dsn" or "host"… | exception | error | configuration, mongodb, dsn |
| This method is not supported by MongoDB. Use vectorSearch()… | exception | error | query-builder, vector-search, unsupported-method, mongodb |
| Cannot sort by a field named 'score' together with Atlas… | exception | error | php, laravel-scout, atlas-search, sorting |
| Parent model must be a document model. | exception | error | php, mongodb, eloquent, relations |
| Columns cannot be specified to create an aggregation… | exception | error | aggregation, columns, builder |
| The stage name " " is invalid. It must start with a "$"… | exception | error | aggregation, pipeline, validation |
| First argument of must be a field path as "string". Got | exception | error | php, laravel-mongodb, type-mismatch |
| The aggregate column name must be a string. | exception | error | eloquent, aggregates, argument-type |
| Order direction must be "asc", "desc" or a case from the… | exception | error | sort, order-by, validation |
| Cannot sort by '_score' in ascending order; Atlas Search… | exception | error | php, laravel-scout, atlas-search, sorting |