Fatal error: Uncaught ArgumentCountError: Too few arguments to function
-
Hi!
After activating mail poet 3 I see the message bellow. I have the last version of WordPress and a genesis theme. I had to delete the plugin via ftp to make my site work again.Thank you!Fatal error: Uncaught ArgumentCountError: Too few arguments to function MailPoet\API\JSON\v1\Forms::__construct(), 0 passed in /home/masendoc/public_html/maquinasdeemprender.com/wp-content/themes/ntheme/inc/widgets/inc/class-asi-widget-form.php on line 46 and exactly 6 expected in /home/masendoc/public_html/maquinasdeemprender.com/wp-content/plugins/mailpoet/lib/API/JSON/v1/Forms.php:45 Stack trace: #0 /home/masendoc/public_html/maquinasdeemprender.com/wp-content/themes/ntheme/inc/widgets/inc/class-asi-widget-form.php(46): MailPoet\API\JSON\v1\Forms->__construct() #1 /home/masendoc/public_html/maquinasdeemprender.com/wp-includes/class-wp-widget-factory.php(61): ASI_Widget_Form->__construct() #2 /home/masendoc/public_html/maquinasdeemprender.com/wp-includes/widgets.php(115): WP_Widget_Factory->register(‘ASI_Widget_Form’) #3 /home/masendoc/public_html/maquinasdeemprender.com/wp-content/themes/ntheme/inc/widgets/widgets.php(37): register_widget(‘ASI_Widget_Form’) #4 /home/masendoc/public_html/maquinasdeemprender.com/wp-inclu in?/home/masendoc/public_html/maquinasdeemprender.com/wp-content/plugins/mailpoet/lib/API/JSON/v1/Forms.php?on line?45
- The topic ‘Fatal error: Uncaught ArgumentCountError: Too few arguments to function’ is closed to new replies.