{"record":{"id":"c700c260fa1399d7","repo":"z-song/laravel-admin","slug":"operator-operator-not-support","errorCode":null,"errorMessage":"Operator [$operator] not support.","messagePattern":"Operator \\[\\$operator\\] not support\\.","errorType":"exception","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"src/Form/Field/CanCascadeFields.php","lineNumber":154,"sourceCode":"                return $old < $value;\n            case '>=':\n                return $old >= $value;\n            case '<=':\n                return $old <= $value;\n            case '!=':\n                return $old != $value;\n            case 'in':\n                return in_array($old, $value);\n            case 'notIn':\n                return !in_array($old, $value);\n            case 'has':\n                return in_array($value, $old);\n            case 'oneIn':\n                return count(array_intersect($value, $old)) >= 1;\n            case 'oneNotIn':\n                return count(array_intersect($value, $old)) == 0;\n            default:\n                throw new \\Exception(\"Operator [$operator] not support.\");\n        }\n    }\n\n    /**\n     * Js Value.\n     */\n    protected function getValueByJs()\n    {\n        return addslashes(old($this->column(), $this->value()));\n    }\n\n    /**\n     * Add cascade scripts to contents.\n     *\n     * @return void\n     */\n    protected function addCascadeScript()\n    {","sourceCodeStart":136,"sourceCodeEnd":172,"githubUrl":"https://github.com/z-song/laravel-admin/blob/67c441eb78ecc5437e59775d89770cd9c2cb1e05/src/Form/Field/CanCascadeFields.php#L136-L172","documentation":"Error \"Operator [$operator] not support.\" thrown in z-song/laravel-admin.","triggerScenarios":"Thrown at src/Form/Field/CanCascadeFields.php:154 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"67c441eb78ecc5437e59775d89770cd9c2cb1e05","analyzedAt":"2026-08-21T02:51:03.143Z","schemaVersion":2},"datasetVersion":"2026-08-21T03:17:12.404Z"}