PHP 7.0 Fatal Error
-
After upgrading to PHP7, WordPress Contact Forms by Cimatti stopped working. Here’s the error:
Fatal error: Uncaught Error: Function name must be a string in /path/to/plugin/wp-content/plugins/contact-forms/PFBC/Base.php:28
Line 28 was:
$this->$method_reference[“set” . $property]($value);It needs to be:
$this->{$method_reference[“set” . $property]}($value);There are other notices from Base.php:
Notice: Array to string conversion on lines 28 and 30Notice: Undefined property: AccuaForm_Error_Standard::$Array on line 28
Any plans to support PHP7?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP 7.0 Fatal Error’ is closed to new replies.