Running Task Core Tools Linkable to Linkable Module Task

GET /dev/tasks/ct-linkable-to-linkable

[Warning] Undefined variable $relation

GET /dev/tasks/ct-linkable-to-linkable

Line 70 in /srv/users/youth-sailing/apps/youth-sailing/vendor/dynamic/core-tools/src/Tasks/CTLinkableToLinkable.php

Source

61     }
62 
63     /**
64      * @return $this
65      */
66     protected function setClasses()
67     {
68         foreach ($this->getHierarchy() as $class) {
69             if ($class::singleton()->hasExtension(Linkable::class) && $this->hasLinkableRelation($class)) {
70                 $this->classes[$class] = $relation;
71             }
72         }
73 
74         return $this;
75     }
76 

Trace

GET /dev/tasks/ct-linkable-to-linkable

[Warning] Undefined variable $relation

GET /dev/tasks/ct-linkable-to-linkable

Line 70 in /srv/users/youth-sailing/apps/youth-sailing/vendor/dynamic/core-tools/src/Tasks/CTLinkableToLinkable.php

Source

61     }
62 
63     /**
64      * @return $this
65      */
66     protected function setClasses()
67     {
68         foreach ($this->getHierarchy() as $class) {
69             if ($class::singleton()->hasExtension(Linkable::class) && $this->hasLinkableRelation($class)) {
70                 $this->classes[$class] = $relation;
71             }
72         }
73 
74         return $this;
75     }
76 

Trace

GET /dev/tasks/ct-linkable-to-linkable

[Emergency] Uncaught Error: Class name must be a valid object or a string

GET /dev/tasks/ct-linkable-to-linkable

Line 157 in /srv/users/youth-sailing/apps/youth-sailing/vendor/dynamic/core-tools/src/Tasks/CTLinkableToLinkable.php

Source

148         }
149     }
150 
151     /**
152      * @param $class
153      * @return \Generator
154      */
155     protected function iterateObjects($class)
156     {
157         foreach ($class::get() as $object) {
158             yield $object;
159         }
160     }
161 
162     /**
163      * @param $object

Trace