Error in Browser console

  • Nextcloud Server version (e.g., 29.x.x):
    • 26.0.13
  • Operating system and version (e.g., Ubuntu 24.04):
    • Rocky Linux 9.5
  • Web server and version (e.g, Apache 2.4.25):
    • httpd 2.4
  • PHP version (e.g, 8.3):
    • 8.1
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • VM

Hello

I am getting these errors on my browser’s console, any idea how to resolve these, these seems to be deprecation warnings,

like this:
oc_config is deprecated: use OC.config instead, this will be removed in Nextcloud 20

as I am using 26.0.13 and I recently updated NC from v25 using command then why I am getting this now, it must be handled in NC 20

These are only visible if you have debug on (at least in more recent versions of Nextcloud).

Note that v26 reached end-of-life awhile ago. Only v29-v31 are currently supported.