Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Plugins

Form Update to v3.0.2 causing Form::getAction() error, maybe?

form

Started by Robert Nelson Jr 7 years ago · 1 replies · 528 views
7 years ago

Return value of Grav\Plugin\Form\Form::getAction() must be of the type string, null returned

PHP
    public function getAction(): string
{
    return $this->items['action'] ?? $this->page;
}

/plugins/form/classes/form.php

I recently updated my Grav plugins, including the Form plugin and I'm now receiving this error when trying to load a page with a Form on it. I'm really at a loss to what it could be, as It's been a fully functional form till now. Any guidance out there? Thanks in advance!

Suggested topics

Topic Participants Replies Views Activity
Plugins · by Rene, 1 week ago
2 43 1 week ago
Plugins · by Xavier, 4 weeks ago
2 53 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1179 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 47 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 72 2 months ago