Error

We're sorry, but an unhandled error occurred. Please see the details below.

Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes)

/home/tee/domains/homeschoolnetwork.org/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php line 775

     */
    public function getDates()
    {
        $defaults = [static::CREATED_AT, static::UPDATED_AT];
 
        return $this->usesTimestamps()
                    ? array_unique(array_merge($this->dates, $defaults))
                    : $this->dates;
    }
 
    /**
     * Get the format for database stored dates.
     *

Stack trace

# Called Code Document Line