Error activating the plugin
-
Hello! When I click the “Activate” button after installing the plugin, I get an error:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function HappyForms_Message_Controller::create(), 1 passed in D:\server72\sites\wp-test.ru\wp-content\plugins\happyforms\inc\helpers\helper-activation.php on line 157 and exactly 2 expected in D:\server72\sites\wp-test.ru\wp-content\plugins\happyforms\inc\classes\class-message-controller.php on line 550
code:
$message = $message_controller->create( $form_data );
but you need:
$message = $message_controller->create( $form_data, [] );
It helped me to activate the plugin.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Error activating the plugin’ is closed to new replies.