{"record":{"id":"57fa8e907c18dba9","repo":"getgrav/grav","slug":"class-method-not-found","errorCode":null,"errorMessage":"{class}::{method}() not found.","messagePattern":"(.+?)::(.+?)\\(\\) not found\\.","errorType":"exception","errorClass":"BadMethodCallException","httpStatus":null,"severity":"error","filePath":"system/src/Grav/Common/Media/Traits/ThumbnailMediaTrait.php","lineNumber":141,"sourceCode":"     * Bubble a function call up to either the superclass function or the parent Medium instance\n     *\n     * @param  string  $method\n     * @param  array  $arguments\n     * @param  bool $testLinked\n     * @return mixed\n     */\n    protected function bubble($method, array $arguments = [], $testLinked = true)\n    {\n        if (!$testLinked || $this->linked) {\n            $parent = $this->parent;\n            if (null === $parent) {\n                return $this;\n            }\n\n            $closure = [$parent, $method];\n\n            if (!is_callable($closure)) {\n                throw new BadMethodCallException($parent::class . '::' . $method . '() not found.');\n            }\n\n            return $closure(...$arguments);\n        }\n\n        return parent::{$method}(...$arguments);\n    }\n}\n","sourceCodeStart":123,"sourceCodeEnd":150,"githubUrl":"https://github.com/getgrav/grav/blob/6040efed04efa69b8209448ed81308e7c24147c2/system/src/Grav/Common/Media/Traits/ThumbnailMediaTrait.php#L123-L150","documentation":"Error \"{class}::{method}() not found.\" thrown in getgrav/grav.","triggerScenarios":"Thrown at system/src/Grav/Common/Media/Traits/ThumbnailMediaTrait.php:141 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":"6040efed04efa69b8209448ed81308e7c24147c2","analyzedAt":"2026-08-17T05:07:31.593Z","schemaVersion":2},"datasetVersion":"2026-08-17T09:17:11.063Z"}