pierobot / mangapie

This is a self-hosted server for archived manga.
BSD 3-Clause "New" or "Revised" License
65 stars 9 forks source link

Commit 8a56bfe Error #172

Closed donotos closed 4 years ago

donotos commented 4 years ago

there is an error when you go in a serie page after update.

I activated debug mode an this is what i got:

/var/www/mangapie/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php
            if ($matches['class'] != get_class($object) ||
                $matches['method'] != $method) {
                throw $e;
            }

            static::throwBadMethodCallException($method);
        }
    }

    /**
     * Throw a bad method call exception for the given method.
     *
     * @param  string  $method
     * @return void
     *
     * @throws \BadMethodCallException
     */
    protected static function throwBadMethodCallException($method)
    {
        throw new BadMethodCallException(sprintf(
            'Call to undefined method %s::%s()', static::class, $method
        ));
    }
}

Arguments
"Call to undefined method App\Manga::topMostDirectories()"
kurim commented 4 years ago

I can confirm the issue, also have it roll back to d17fc91 - then every thing is fine

pierobot commented 4 years ago

https://github.com/pierobot/mangapie/commit/3a7f76c866b6ea80017927a65c964aceb5dd6c67

Simple mistake. Apologies.