Error on automations page
-
Hi all
I am new to mailpoet, I have it installed for few weeks, never really used it yet unless to setup a couple forms that haven’t been used yet
When I go to the automation page (I wanted to stup an autoresponder for specific registrations forms) I get this message “There has been a critical error on this website. Please check your site admin email inbox for instructions.”
I tried to update the plugin, no luck.
Here the error message I received via email
Un errore di E_ERROR è stato causato nella linea 240 del file /home/u123456789/domains/domain.com/public_html/wp-content/plugins/mailpoet/lib/Automation/Integrations/WordPress/Fields/PostFieldsFactory.php. Messaggio di errore: Uncaught TypeError: MailPoet\Automation\Integrations\WordPress\Fields\PostFieldsFactory::MailPoet\Automation\Integrations\WordPress\Fields{closure}(): Return value must be of type bool, array returned in /home/u123456789/domains/domain.com/public_html/wp-content/plugins/mailpoet/lib/Automation/Integrations/WordPress/Fields/PostFieldsFactory.php:240
Stack trace: 0 [internal function]: MailPoet\Automation\Integrations\WordPress\Fields\PostFieldsFactory->MailPoet\Automation\Integrations\WordPress\Fields{closure}() 1 /home/u123456789/domains/domain.com/public_html/wp-content/plugins/mailpoet/lib/Automation/Integrations/WordPress/Fields/PostFieldsFactory.php(237): array_filter() 2 /home/u123456789/domains/domain.com/public_html/wp-content/plugins/mailpoet/lib/Automation/Integrations/WordPress/Fields/PostFieldsFactory.php(46): MailPoet\Automation\Integrations\WordPress\Fields\PostFieldsFactory->getPostTypes() 3 /home/u123456789/domains/domain.com/public_html/wp-content/plugins/mailpoet/lib/Automation/Integrations/WordPress/Subjects/PostSubject.php(58): MailPoet\Automation\Integrations\WordPress\Fields\PostFieldsFactory->getFields() 4 /home/u123456789/domains/domain.com/public_html/wp-content/plugins/mailpoet/lib/AdminPages/Pages/Automation.php(123): MailPoet\Automation\Integrations\WordPress\Subjects\PostSubject->getFields() 5 /home/u123456789/domains/domain.com/public_html/wp-content/plugins/mailpoet/lib/AdminPages/Pages/Automation.php(96): MailPoet\AdminPages\Pages\Automation->buildRegistry() 6 /home/u123456789/domains/domain.com/public_html/wp-content/plugins/mailpoet/lib/Config/Menu.php(621): MailPoet\AdminPages\Pages\Automation->render() 7 /home/u123456789/domains/domain.com/public_html/wp-includes/class-wp-hook.php(324): MailPoet\Config\Menu->automation() 8 /home/u123456789/domains/domain.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 9 /home/u123456789/domains/domain.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 10 /home/u123456789/domains/domain.com/public_html/wp-admin/admin.php(259): do_action() 11 {main}thrown
Any idea how this could be fixed?
- The topic ‘Error on automations page’ is closed to new replies.