Line 57 in /mnt/making-disk1/home2/lyncissistemas/public_html/vendor/silverstripe/framework/src/Core/CustomMethods.php
48 * @throws BadMethodCallException 49 */ 50 public function __call($method, $arguments) 51 { 52 // If the method cache was cleared by an an Object::add_extension() / Object::remove_extension() 53 // call, then we should rebuild it. 54 $class = static::class; 55 $config = $this->getExtraMethodConfig($method); 56 if (empty($config)) { 57 throw new BadMethodCallException( 58 "Object->__call(): the method '$method' does not exist on '$class'" 59 ); 60 } 61 62 switch (true) { 63 case isset($config['callback']): {