[wp-trac] [WordPress Trac] #60378: gdlr-edit-box.js Uncaught TypeError: temp_settings is undefined

WordPress Trac noreply at wordpress.org
Sat Feb 22 07:08:59 UTC 2025


#60378: gdlr-edit-box.js Uncaught TypeError: temp_settings is undefined
---------------------------+------------------------------
 Reporter:  changhsinjung  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Editor         |     Version:  6.4.2
 Severity:  critical       |  Resolution:
 Keywords:                 |     Focuses:  javascript
---------------------------+------------------------------

Comment (by deedesigner):

 The error message "Uncaught TypeError: temp_settings is undefined" in
 gdlr-edit-box.js suggests that the script is attempting to access
 tinyMCEPreInit.mceInit.content, but tinyMCEPreInit or its mceInit property
 is not defined at the time of execution.

 **Potential Causes:
 ******
 **Script Loading Order:** The script gdlr-edit-box.js might be loading
 before the initialization of tinyMCEPreInit.
 **Conditional Initialization:** The tinyMCEPreInit object may only be
 initialized under certain conditions, and those conditions are not met in
 your current context.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60378#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list