• 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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Ojoma a11n

    (@geraltrivia)

    Hello there @webstuff99,

    Thank you for reaching out to us.

    These types of?errors are most often caused by either missing or corrupted files, which can happen if there’s some type of glitch while updating WordPress plugins/themes and something doesn’t go as expected.

    As a first step here, I’d recommend re-installing the plugin and then checking to see if the issue is resolved. You can remove the plugin and re-install it from your admin dashboard’s Plugins page, or alternatively we have a guide for re-installing via FTP here:

    Re-installing / Updating the Plugin via FTP

    Please let me know how that goes, or if you have any questions! If you are still having issues afterward, please let us know, and copy and paste the information from?MailPoet > Help > System Info, and send that over as well.

    Thank you!

    Thread Starter webstuff99

    (@webstuff99)

    Hi

    thanks for your feedback @geraltrivia.

    I tried to update the plugin, but with no luck.

    Anything strange in this output from the page you recommended?

    
    PHP version: 8.2.15
    MailPoet Free version: 4.48.0
    MailPoet Premium version: N/A
    MailPoet Premium/MSS key: 60c03572928b686e**
    WordPress version: 6.4.3
    Database version: 10.11.7-MariaDB-cll-lve
    Web server: LiteSpeed
    Server OS: Linux nl-srv-webxxxx.main-hosting.eu 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
    WP info: WP_MEMORY_LIMIT: 40M - WP_MAX_MEMORY_LIMIT: 512M - WP_DEBUG: - WordPress language: en_US
    PHP info: PHP max_execution_time: 300 - PHP memory_limit: 512M - PHP upload_max_filesize: 256M - PHP post_max_size: 256M
    Multisite environment?: No
    Current Theme: soledad (version 8.4.8)
    Active Plugin names: ad-inserter/ad-inserter.php, affiliate-products-blocks/plugin.php, classic-widgets/classic-widgets.php, contact-form-7/wp-contact-form-7.php, content-views-query-and-display-post-page/content-views.php, custom-sidebars/customsidebars.php, daext-autolinks-manager/init.php, easy-table-of-contents/easy-table-of-contents.php, elementor/elementor.php, envato-market/envato-market.php, loomisoft-content-blocks/loomisoft-content-blocks.php, mailpoet/mailpoet.php, maxbuttons/maxbuttons.php, penci-shortcodes/init.php, penci-soledad-slider/init.php, popup-maker/popup-maker.php, post-types-order/post-types-order.php, simple-301-redirects/wp-simple-301-redirects.php, thirstyaffiliates/thirstyaffiliates.php, velvet-blues-update-urls/velvet-blues-update-urls.php, w3-total-cache/w3-total-cache.php, wordpress-seo/wp-seo.php, wp-all-export/wp-all-export.php, wp-statistics/wp-statistics.php, wp2speed/wp2speed-nocdn.php
    Sending Method: MailPoet
    Sending Frequency: 25 emails every 5 minutes
    MailPoet sending info: Send all site's emails with: default WordPress sending method - Task Scheduler method: Action Scheduler - Cron ping URL: https://www.domain.com?mailpoet_router&endpoint=cron_daemon&action=ping - Default FROM address: [email protected] - Default Reply-To address: - Bounce Email Address: [email protected]
    Total number of subscribers: 6
    Plugin installed at: 2024-02-11 22:19:35
    Installed via WooCommerce onboarding wizard: false
    Plugin Support Ojoma a11n

    (@geraltrivia)

    Hello there @webstuff99,

    From your system information I can see that your WP_Memory_Limit & your PHP max-execution_time values are low. I’ll suggest you reach out to your hosting to increase these values.

    Can you let me know the error you encountered when you tried updating the plugin via the guide I sent to you earlier?

    Looking forward to hearing back from you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error on automations page’ is closed to new replies.