Fatal Error when updating to MailPoet 5.0.0
-
Hello,
I updated MailPoet to the latest version (5.0.0), released this morning, I had a Fatal error on pages with contact form 7 forms :
PHP Fatal error: Uncaught Error: Class "MailPoet\Models\Segment" not found in /XXX/wp-content/plugins/add-on-contact-form-7-mailpoet/includes/class-mailpoet-cf7-integration.php:235
Stack trace:
0 /XXX/wp-content/plugins/add-on-contact-form-7-mailpoet/includes/class-mailpoet-cf7-integration.php(123): MailPoet_CF7_Integration->mailpoet_segments_data(Array)
1 /XXX/wp-content/plugins/contact-form-7/includes/form-tags-manager.php(551): MailPoet_CF7_Integration->mailpoet_signup_form_tag(Object(WPCF7_FormTag))
2 /XXX/wp-content/plugins/contact-form-7/includes/form-tags-manager.php(460): WPCF7_FormTagsManager->scan_callback(Array, true)
3 [internal function]: WPCF7_FormTagsManager->replace_callback(Array)
4 /XXX/wp-content/plugins/contact-form-7/includes/form-tags-manager.php(353): preg_replace_callback('/(\\[?)\\[(mailpo...', Array, '<div class="row...')
5 /XXX/wp-content/plugins/contact-form-7/includes/form-tags-manager.php(328): WPCF7_FormTagsManager->scan('<div class="row...', true)
6 /XXX/wp-content/plugins/contact-form-7/includes/contact-form.php(893): WPCF7_FormTagsManager->replace_all('<div class="row...')
7 /XXX/wp-content/plugins/contact-form-7/includes/contact-form.php(959): WPCF7_ContactForm->replace_all_form_tags()
8 /XXX/wp-content/plugins/contact-form-7/includes/contact-form.php(659): WPCF7_ContactForm->form_elements()
9 /XXX/wp-content/plugins/contact-form-7/includes/contact-form-functions.php(269): WPCF7_ContactForm->form_html(Array)
11 /XXX/wp-content/plugins/contact-form-7/includes/l10n.php(147): call_user_func(Object(Closure), Object(WPCF7_ContactForm), Array)
12 /XXX/wp-content/plugins/contact-form-7/includes/contact-form-functions.php(272): wpcf7_switch_locale('fr_FR', Object(Closure), Object(WPCF7_ContactForm), Array)
13 /XXX/wp-includes/shortcodes.php(434): wpcf7_contact_form_tag_func(Array, '', 'contact-form-7')
16 [internal function]: do_shortcode('[contact-form-7...')Have a nice day
Florian
- You must be logged in to reply to this topic.