Whenever I attempt to create a new Client Script, the entire page becomes blank. Can anyone please identify the cause?
Additionally, our other clients on the same server are not experiencing this issue.
Frappe Framework: v15.87.0 (version-15)
ERPNext: v15.81.1 (version-15)
Hi @Zaryabqureshi
Kindly banch restart. I hope it’s working
Thank You!
1 Like
Thank you for your response, Mohammad Ali. I’m currently running in a production environment.
Console error: TypeError: can’t access property “dt”, this.doc is undefined
Abdeali
November 17, 2025, 12:53pm
6
can you share image or traceback, it would be more helpful!
Abdeali
November 17, 2025, 12:53pm
7
Or try to build this particular site
Uncaught TypeError: can’t access property “dt”, this.doc is undefined
trigger_link_fields form.js:1107
each jQuery
trigger_link_fields form.js:1106
initialize_new_doc form.js:569
after_ajax request.js:519
request.js:667
each jQuery
request.js:666
jQuery 7
call request.js:281
call request.js:109
get_notifications_list notifications.js:328
make notifications.js:191
ji notifications.js:171
ts notifications.js:183
make_tab_view notifications.js:110
setup_headers notifications.js:91
setup_headers notifications.js:90
make notifications.js:22
notifications.js:7
setup_notifications toolbar.js:175
toolbar.js:21
make_nav_bar desk.js:357
startup desk.js:39
desk.js:30
start_app desk.js:12
desk.js:25
jQuery 13
Gi libs.bundle.TIV7ZGVY.js:1
jQuery
libs.bundle.js:13
While saving client script
TypeError: can’t access property “undefined”, frappe.meta.docfield_map[a.parenttype] is undefined
check_mandatory save.js:166
each jQuery
check_mandatory save.js:126
n save.js:20
save save.js:116
validate_and_save form.js:816
promise callbackfrappe.run_serially/< dom.js:262
run_serially dom.js:260
validate_and_save form.js:807
save form.js:746
save form.js:743
Save toolbar.js:714
set_action page.js:306
jQuery 8
set_action page.js:305
set_primary_action page.js:320
set_page_actions toolbar.js:731
set_primary_action toolbar.js:644
refresh toolbar.js:19
refresh_header form.js:716
render_form form.js:620
initialize_new_doc form.js:566
promise callback initialize_new_doc form.js:563
trigger_onload form.js:544
refresh form.js:432
render formview.js:107
show_doc formview.js:73
make formview.js:18
show factory.js:25
render_page router.js:331
render router.js:310
route router.js:158
push_state router.js:508
set_route router.js:384
set_route router.js:373
set_route router.js:584
render_new_doc formview.js:101
fetch_and_render formview.js:85
callback model.js:327
e request.js:85
200 request.js:133
call request.js:307
jQuery 6
call request.js:281
call request.js:109
Client script issue .Please Check the code or comment the client script and check again
1 Like
Brother, I’m on a production environment with multiple instances. If I make any changes to the app or code, it will affect all the other instances as well.
any way to replicate your environment to another site/bench and then experiment?
1 Like
No, I haven’t tried this yet. I’ll give it a try.