• Hi, i have the following error. Mailpoet stopped working and showing anything at all apart from the menu-item in the backend… Can you help me out?

    ReferenceError: can’t access lexical declaration ‘m’ before initialization File name: https://www.boerderijwinkelzevenbergen.nl/wp-content/plugins/mailpoet/assets/dist/js/commons.js?ver=4.25.0 Stack trace: x@https://www.boerderijwinkelzevenbergen.nl/wp-content/plugins/mailpoet/assets/dist/js/commons.js?ver=4.25.0:9:534209 S@https://www.boerderijwinkelzevenbergen.nl/wp-content/plugins/mailpoet/assets/dist/js/admin.js?ver=4.25.0:2:30204 _a@https://www.boerderijwinkelzevenbergen.nl/wp-content/plugins/mailpoet/assets/dist/js/commons.js?ver=4.25.0:9:1772940 _c@https://www.boerderijwinkelzevenbergen.nl/wp-content/plugins/mailpoet/assets/dist/js/commons.js?ver=4.25.0:9:1829772 OA@https://www.boerderijwinkelzevenbergen.nl/wp-content/plugins/mailpoet/assets/dist/js/commons.js?ver=4.25.0:9:1818926 zA@https://www.boerderijwinkelzevenbergen.nl/wp-content/plugins/mailpoet/assets/dist/js/commons.js?ver=4.25.0:9:1818854 hA@https://www.boerderijwinkelzevenbergen.nl/wp-content/plugins/mailpoet/assets/dist/js/commons.js?ver=4.25.0:9:1818715 AA@https://www.boerderijwinkelzevenbergen.nl/wp-content/plugins/mailpoet/assets/dist/js/commons.js?ver=4.25.0:9:1815858 Po@https://www.boerderijwinkelzevenbergen.nl/wp-content/plugins/mailpoet/assets/dist/js/commons.js?ver=4.25.0:9:1756786 uA@https://www.boerderijwinkelzevenbergen.nl/wp-content/plugins/mailpoet/assets/dist/js/commons.js?ver=4.25.0:9:1816360 2920/el/a<@https://www.boerderijwinkelzevenbergen.nl/wp-content/plugins/mailpoet/assets/dist/js/commons.js?ver=4.25.0:9:1834383 el@https://www.boerderijwinkelzevenbergen.nl/wp-content/plugins/mailpoet/assets/dist/js/commons.js?ver=4.25.0:9:1834415 2920/t.render@https://www.boerderijwinkelzevenbergen.nl/wp-content/plugins/mailpoet/assets/dist/js/commons.js?ver=4.25.0:9:1838635 55684@https://www.boerderijwinkelzevenbergen.nl/wp-content/plugins/mailpoet/assets/dist/js/admin.js?ver=4.25.0:2:50721 i@https://www.boerderijwinkelzevenbergen.nl/wp-content/plugins/mailpoet/assets/dist/js/runtime.js?ver=4.25.0:1:147 @https://www.boerderijwinkelzevenbergen.nl/wp-content/plugins/mailpoet/assets/dist/js/admin.js?ver=4.25.0:2:540501 i.O@https://www.boerderijwinkelzevenbergen.nl/wp-content/plugins/mailpoet/assets/dist/js/runtime.js?ver=4.25.0:1:439 @https://www.boerderijwinkelzevenbergen.nl/wp-content/plugins/mailpoet/assets/dist/js/admin.js?ver=4.25.0:2:540519 r@https://www.boerderijwinkelzevenbergen.nl/wp-content/plugins/mailpoet/assets/dist/js/runtime.js?ver=4.25.0:1:1976 @https://www.boerderijwinkelzevenbergen.nl/wp-content/plugins/mailpoet/assets/dist/js/admin.js?ver=4.25.0:2:55

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello

    I use mailpoet but I’m just a user of this app

    • deactivate non-essential plug-ins to carry out your tests
    • mailpoet works better with php 8
    • do a test without caching or script optimization
    • and of course make an additional backup before doing your tests!

    The error you mentioned appears to be a JavaScript error that occurs on a WordPress site using the MailPoet plugin. The error message ‘ReferenceError: can’t access lexical declaration ‘m’ before initialization’ indicates that the code is trying to access a variable named ‘m’ before it is initialized as a lexical scope variable.

    The stack trace shows that the error occurs in the ‘commons.js’ file of the MailPoet plugin. This suggests that the problem is probably related to the JavaScript code of this plugin. Here are some steps you can take to resolve this issue:

    Update the plugin: Make sure you are using the latest version of the MailPoet plugin. Similar errors may occur due to bugs in older versions of the plugin. Updating the plugin might fix the issue.

    Check plugin/theme conflicts: Sometimes conflicts between different plugins or themes can cause JavaScript errors. Temporarily disable all other plugins and revert to the default WordPress theme. Next, activate the MailPoet plugin to see if the error persists. If it disappears, reactivate other plugins and themes one by one to identify which one is causing the conflict.

    Check custom code: If you have added custom code (JavaScript) to your site or the MailPoet plugin, check that code to ensure there are no syntax errors or references to undeclared variables .

    Contact Support: If none of the steps above resolve the issue, you might consider contacting MailPoet Support. They might have encountered this problem before and be able to provide you with a solution or fix.

    LOBOGRAPHIK

    Plugin Support Ojoma a11n

    (@geraltrivia)

    Hello there @gjz001 ,

    Thank you for reaching out to us.

    We are sorry to hear you’re experiencing this.

    Can you confirm if you’ve tried to conduct a theme or plugin conflict check by following this guide? https://kb.mailpoet.com/article/204-how-to-test-for-plugins-conflict

    Looking forward to hearing back from you.

    Thread Starter gjz001

    (@gjz001)

    Hi, @geraltrivia and @lobographik thank you for your answers. The problem is in the cooperation between Mailpoet and the Event Manager and Tickets Selling Plugin for WooCommerce from MagePeople. I can try to contact them and see what happens…

    • This reply was modified 1 year, 5 months ago by gjz001.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Mailpoet not working anymore’ is closed to new replies.