Blank MailPoet admin pages (Subscribers & Emails) on WordPress 7.0.1
O
Oliver Gelbrich
Hi,
I’m having a persistent issue with blank MailPoet admin pages on my site and would appreciate some help.
Environment
WordPress version: 7.0.1
MailPoet version: 5.33.1 (just updated from 5.27.0)
PHP version (from Site Health): 8.2.31
Site: danielagelbrich.de
Symptoms
All MailPoet admin pages like “Subscribers” and “Emails” are completely blank in the content area.
The HTML source shows the wrapper and a <div id="subscribers_container"></div>, plus MailPoet variables such as mailpoet_segments and mailpoet_subscribers_count = 383, so data seems to be present.
The main React container (#subscribers_container) never renders the interface.
JavaScript console errors
On the mailpoet-subscribers admin page I consistently see:
Uncaught ReferenceError: MailPoet is not defined
at mailpoet_mailpoet-js-after:2:1
Uncaught ReferenceError: Parsley is not defined
at mailpoet_admin_vendor-js-after:2:1
So the “after” inline scripts for MailPoet and the admin vendor bundle run, but the global objects MailPoet and Parsley are not defined at that moment.
Network tab
Filtering for “mailpoet” on the same page shows:
admin.php?page=mailpoet-subscribers – 200 (document)
Several CSS files:
mailpoet-wp-components….css?ver=7.0.1
mailpoet-plugin….css?ver=7.0.1
mailpoet-admin….css?ver=7.0.1
mailpoet-dataviews….css?ver=7.0.1
CSS is loading fine. The JS errors reference mailpoet_mailpoet-js-after and mailpoet_admin_vendor-js-after, but the base script handles apparently don’t provide MailPoet / Parsley when those “after” snippets execute.
Troubleshooting steps already taken
Tested with multiple browsers: Brave (Shields off), Chrome, Firefox, Safari – same blank pages and same console errors.
Updated WordPress from an older version to 7.0.1.
Updated MailPoet from 5.27.0 to 5.33.1.
Installed “Health Check & Troubleshooting” and enabled Troubleshooting Mode:
Only MailPoet active, default theme, all other plugins disabled in this mode.
The MailPoet admin pages are still blank with the same MailPoet is not defined and Parsley is not defined errors.
Because the issue persists even with only MailPoet active in troubleshooting mode, it seems not to be a classic plugin/theme conflict. It looks like the admin JS is either not correctly initialized or the “after” scripts are running before the base scripts define MailPoet and Parsley.
Question
Is this a known issue with MailPoet 5.33.1 on WordPress 7.0.1, and is there a workaround or patch so that the Subscribers/Emails admin pages will render again?
If you need more logs or full system status, I can provide them.
Thanks in advance for your help.
D
Diane Bedard
I had that problem also. I went into Settings > Basics and selected MailPoet Subscription Page. I may have also had to build a blank page and add the [mailpoet_page] shortcode, but I don't remember. It was over a week ago. Always something.
S
Seun
Hi
The plugin works fine for me.
I think you should send an email to the MailPoet support team https://www.mailpoet.com/support/