Title: Javascript ReferenceError with v5.30.0: Cannot access &#8216;D&#8217; before init
Last modified: June 20, 2026

---

# Javascript ReferenceError with v5.30.0: Cannot access ‘D’ before init

 *  Resolved [Conor Boyd](https://wordpress.org/support/users/conorsboyd/)
 * (@conorsboyd)
 * [2 weeks, 2 days ago](https://wordpress.org/support/topic/javascript-referenceerror-with-v5-30-0-cannot-access-d-before-init/)
 * Upgraded Mailpoet to v5.30.0.
 * As soon as I try and go to the Mailpoet home page in my dashboard I get the below
   stacktrace.
 * WordPress: v7.0
   PHP: v8.5
 *     ```wp-block-code
       File name: No fileName reported Stack trace: ReferenceError: Cannot access 'D' before initialization    at Object.U (https://[my domain]/wp-content/plugins/mailpoet/assets/dist/js/commons.js?ver=5.30.0:2:603147)    at N (https://[my domain]/wp-content/plugins/mailpoet/assets/dist/js/admin.js?ver=5.30.0:2:6029)    at ha (https://[my domain]/wp-content/plugins/mailpoet/assets/dist/js/commons.js?ver=5.30.0:2:2050523)    at vc (https://[my domain]/wp-content/plugins/mailpoet/assets/dist/js/commons.js?ver=5.30.0:2:2109457)    at Ml (https://[my domain]/wp-content/plugins/mailpoet/assets/dist/js/commons.js?ver=5.30.0:2:2098697)    at hl (https://[my domain]/wp-content/plugins/mailpoet/assets/dist/js/commons.js?ver=5.30.0:2:2098625)    at bl (https://[my domain]/wp-content/plugins/mailpoet/assets/dist/js/commons.js?ver=5.30.0:2:2098488)    at ol (https://[my domain]/wp-content/plugins/mailpoet/assets/dist/js/commons.js?ver=5.30.0:2:2095323)    at rl (https://[my domain]/wp-content/plugins/mailpoet/assets/dist/js/commons.js?ver=5.30.0:2:2093879)    at v (https://[my domain]/wp-content/plugins/mailpoet/assets/dist/js/commons.js?ver=5.30.0:2:2190694)
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Ján Mikláš](https://wordpress.org/support/users/neosinner/)
 * (@neosinner)
 * [1 week, 3 days ago](https://wordpress.org/support/topic/javascript-referenceerror-with-v5-30-0-cannot-access-d-before-init/#post-18948126)
 * Hi [@conorsboyd](https://wordpress.org/support/users/conorsboyd/), I wasn’t able
   to reproduce the issue. Could you please try updating MailPoet to latest version(
   5.31.0 or 5.32.0), to see if that doesn’t fix it? If not, could you please share
   a screenshot of the console error including message before the error?
 *  Thread Starter [Conor Boyd](https://wordpress.org/support/users/conorsboyd/)
 * (@conorsboyd)
 * [1 week ago](https://wordpress.org/support/topic/javascript-referenceerror-with-v5-30-0-cannot-access-d-before-init/#post-18950478)
 * Thanks for the advice.
 * I have updated to v5.32.0 and can no longer reproduce the problem.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-referenceerror-with-v5-30-0-cannot-access-d-before-init%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/mailpoet/assets/icon-256x256.png?rev=3284564)
 * [MailPoet - Newsletters, Email Marketing, and Automation](https://wordpress.org/plugins/mailpoet/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailpoet/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailpoet/)
 * [Active Topics](https://wordpress.org/support/plugin/mailpoet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailpoet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailpoet/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Conor Boyd](https://wordpress.org/support/users/conorsboyd/)
 * Last activity: [1 week ago](https://wordpress.org/support/topic/javascript-referenceerror-with-v5-30-0-cannot-access-d-before-init/#post-18950478)
 * Status: resolved