LoBo GraphiK
Forum Replies Created
-
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