Title: Dark theme error.
Last modified: September 28, 2025

---

# Dark theme error.

 *  Resolved [Salocin.TEN](https://wordpress.org/support/users/salocinten/)
 * (@salocinten)
 * [8 months, 1 week ago](https://wordpress.org/support/topic/dark-theme-error/)
 * Hi,
 * I noticed the backend is still a bit slow and crashing the browser, so I found
   [this error report](https://salocinten.sentry.io/share/issue/a69b9356e23d4978a0e2bf304fd4e4bd/)
   in Sentry..
 * ReferenceError: push is not defined
 * **Issue ID:** 6889871679
   **Project:** virtual-place-js-side**Date:** 28/09/2025,
   22:10:42 Tags
    - **browser:** Chrome 140.0.0
    - **browser.name:** Chrome
    - **environment:** production
    - **handled:** no
    - **language:** en-AU
    - **level:** error
    - **mechanism:** instrument
    - **os:** Windows >=10
    - **os.name:** Windows
    - **release:** unknown
    - **replayId:** 18ea7f4a125d44c89ee05208e11eb1ff
    - **transaction:** /wp-admin/post-new.php
    - **url:** …/wp-admin/post-new.php
    - **user:** id:1
    - **wordpress:** 6.8.2
 * Exception Exception 1
 * **Type:** ReferenceError
   **Value:** push is not defined Stacktrace
 *     ```wp-block-code
        Unknown function in /wp-content/plugins/adminify/assets/admin/js/wp-adminify-dark-mode.min.js [Line 2] (In app)
       /*! For license information please see wp-adminify-dark-mode.min.js.LICENSE.txt */
       {snip} t:!0})}(e);var o=t.shadowRoot.querySelectorAll(Mr);o.length>0&&push(r,o)})),r.forEach((function(t){return Dr(t,mn,kn,Sn)}))}()}function Tn() {snip}  <-- SUSPECT LINE
        It in /wp-content/plugins/adminify/assets/admin/js/wp-adminify-dark-mode.min.js [Line 2] (In app)
       /*! For license information please see wp-adminify-dark-mode.min.js.LICENSE.txt */
       {snip} extNode())n.classList.contains("surfingkeys_hints_host")||(e(n),It(n.shadowRoot,e))}var _t=new Set;function Nt(){return"complete"===document {snip}  <-- SUSPECT LINE
        Unknown function in /wp-content/plugins/adminify/assets/admin/js/wp-adminify-dark-mode.min.js [Line 2] (In app)
       /*! For license information please see wp-adminify-dark-mode.min.js.LICENSE.txt */
       {snip} ;r++)e.push(t[r]);return e}(document.querySelectorAll(Mr));It(document.documentElement,(function(t){var e,n;e=t.shadowRoot,n=null===e.firstC {snip}  <-- SUSPECT LINE
        Ln in /wp-content/plugins/adminify/assets/admin/js/wp-adminify-dark-mode.min.js [Line 2] (In app)
       /*! For license information please see wp-adminify-dark-mode.min.js.LICENSE.txt */
       {snip} sh(r,o)})),r.forEach((function(t){return Dr(t,mn,kn,Sn)}))}()}function Tn(){!function(){var t=En("adminify--fallback",document);t.textConten {snip}  <-- SUSPECT LINE
        Lt in /wp-content/plugins/adminify/assets/admin/js/wp-adminify-dark-mode.min.js [Line 2] (In app)
       /*! For license information please see wp-adminify-dark-mode.min.js.LICENSE.txt */
       {snip} (t){var e=Boolean(Lt);Lt=function(){document.hidden||(Vt(),t(),Tt=!0)},e||(document.addEventListener("visibilitychange",Lt,Pt),window.addEve {snip}  <-- SUSPECT LINE
       ```
   
    -  This topic was modified 8 months, 1 week ago by [Salocin.TEN](https://wordpress.org/support/users/salocinten/).
    -  This topic was modified 8 months, 1 week ago by [Salocin.TEN](https://wordpress.org/support/users/salocinten/).
      Reason: in case the link don't work
    -  This topic was modified 8 months, 1 week ago by [Salocin.TEN](https://wordpress.org/support/users/salocinten/).

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

 *  Plugin Author [Liton Arefin](https://wordpress.org/support/users/litonice13/)
 * (@litonice13)
 * [8 months, 1 week ago](https://wordpress.org/support/topic/dark-theme-error/#post-18659668)
 * Hi [@salocinten](https://wordpress.org/support/users/salocinten/),
    Thanks a 
   lot for the report and let us know about the issue. We’ve been working very hard
   for making Adminify better. We’ve made significant changes for performance improvements,
   we’re testing in-house. I’m sure, everyone will love it. Please allow us few 
   more days for releasing Performance Updates.
 * Thanks
 *  Plugin Support [jemeeroy](https://wordpress.org/support/users/jemeeroy/)
 * (@jemeeroy)
 * [7 months, 3 weeks ago](https://wordpress.org/support/topic/dark-theme-error/#post-18677677)
 * Hello [@salocinten](https://wordpress.org/support/users/salocinten/)
 * Please update WP Adminify plugin and the issue will be resolved automatically.
 * If you face any other problem please let us know.
 * Thank you

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

The topic ‘Dark theme error.’ is closed to new replies.

 * ![](https://ps.w.org/adminify/assets/icon.svg?rev=3001787)
 * [Adminify – White Label, Admin Menu Editor, Login Customizer](https://wordpress.org/plugins/adminify/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/adminify/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/adminify/)
 * [Active Topics](https://wordpress.org/support/plugin/adminify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/adminify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/adminify/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [jemeeroy](https://wordpress.org/support/users/jemeeroy/)
 * Last activity: [7 months, 3 weeks ago](https://wordpress.org/support/topic/dark-theme-error/#post-18677677)
 * Status: resolved