Hello,
I tried to create a form with this Guide. But when I open this site I get this error.
Server Error
Sorry, something went terribly wrong!
0 - Call to undefined method Monolog\Logger::addError()
What am I doing wrong?
Hello,
I tried to create a form with this Guide. But when I open this site I get this error.
Server Error
Sorry, something went terribly wrong!
0 - Call to undefined method Monolog\Logger::addError()
What am I doing wrong?
I found the problem. When I disable the Auto SEO Plugin then the page was shown.
But why not when I enable it?
Auto SEO calls Monolog when the plugin throws an exception:
$this->grav['log']->addError($e->getMessage());
Unfortunately, the method addError() does not exist (at least not for the Monolog version used in Grav v2.2.4).
Please create an issue at the repo of Auto SEO: https://github.com/francodacosta/grav-plugin-autoseo
Log in to reply.
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 2 | 381 | 2 weeks ago | ||
| 5 | 381 | 1 month ago | ||
| 13 | 2370 | 8 months ago | ||
| 0 | 826 | 9 months ago | ||
| 9 | 912 | 10 months ago |