Closed (fixed)
Project:
Geo Tracking Limit
Version:
4.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
29 Jan 2024 at 19:45 UTC
Updated:
11 Nov 2025 at 13:06 UTC
Jump to comment: Most recent
When upgrading Drupal from 9 to 10, I get an JavaScript error that says "$.cookie is not a function". This is due to Drupal 10 not including the jquery.cookie library anymore (deprecated in Drupal 9). For more information, refer to the relevant change record: https://www.drupal.org/node/3104677
- Install and enable drupal/gtl on Drupal 10 site.
- Open developer tools and notice the errors on the JS console.
Use js-cookie library instead of jquery.cookie.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
guillaumepacilly commentedComment #6
guillaumepacilly commented