Eye Exam Error - TypeError: $(...).draggable is not a function

Hello everyone!

I am trying to implement a DIY instance of OpenEMR for my ophthalmology practice (yes I am the physician and also the one who implements it - please excuse any stupidity I might say)

I am getting this popup each time I open the Eye exam tab - it seams to work, but I get this error:

TypeError: $(…).draggable is not a function
URL: http://localhost/openemr/interface/forms/eye_mag/js/eye_base.php?enc=2&providerID=5
Line: 4110 Column: 33
Error object: “{}”

OpenEMR Version
I’m using OpenEMR version 7.02

Browser:
I’m using: Firefox 133.0.3

Operating System
I’m using: Ubuntu 24.04 LTS on a VM machine - planning on migrating the system to a Proxmax VE on a standalone server; it will be an offline install, not connected to the www

Search
Yes, but not found the answer. Similar problem somewhere else but on an older version 6…, and not quite the same. Also tried Chat GPT, but he was not able to help me with this one. Although I must give him credit for sorting out tons of other issues.

Logs
No logs generated

PS: willing to switch to Debian if it is considered better. Any feedback wold be appreciated!

Thank you!

Also I get a similiar error but on another line when I toggle the draw function (Ctrl-D):

TypeError: $(…).offset() is undefined
URL: http://localhost/openemr/interface/forms/eye_mag/js/eye_base.php?enc=2&providerID=5
Line: 2108 Column: 26
Error object: “{}”

And this when clicking on HPI field:

TypeError: data_all is null
URL: http://localhost/openemr/interface/forms/eye_mag/js/eye_base.php?enc=57&providerID=5
Line: 4313 Column: 55
Error object: “{}”

hi @Ionescu_Razvan_Danie , I think you have Admin->Config->Logging->User Debugging Options turned on which would popup these errors however I believe they are minor and you should be able to use the eye exam without the popups if you disable the debugging. Good luck!

Thank you for your prompt answer! I really do appreciate it.

I did turn off debugging before and those alerts did go away. Unfortunately I only have a very basic understanding of the code and I am not totally aware of what it is doing and what those alerts meant.
The fact that you mentioned that they should not pose a problem in the future usability of the installation, is the most important part for me.

Thank you for your time!