Skip to content
● Critical PHP security fixes are out: update PHP on your Grav sites. What to do →

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

form

Started by Robert Nelson Jr 8 years ago · 1 replies · 816 views
8 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 DrPen, 2 days ago
1 63 3 hours ago
Plugins · by renedebaaij, 1 week ago
1 133 3 days ago
Plugins · by Thomas, 6 days ago
1 140 5 days ago
Plugins · by complanar, 4 weeks ago
6 469 3 weeks ago
Plugins · by BenLaKnet, 3 weeks ago
1 291 3 weeks ago