🇦🇺Australia mfuggle
I have applied the MR13 patch to cshs without success. I am using Drupal 10.1.2 and Php 8.1.18. I have created a content type to test cshs and as soon as I create content using the test I get the errors shown below. Unfortunately I 'configure' things but am not a 'coder' so I am not sure where to start looking for the fix to the issues below:
drupal.js?v=10.1.2:64 Uncaught TypeError: $(...).once is not a function
at Object.attach (cshs.ts:14:10)
at drupal.js?v=10.1.2:166:24
at Array.forEach (<anonymous>)
at Drupal.attachBehaviors (drupal.js?v=10.1.2:162:34)
at big_pipe.js?v=10.1.2:118:10
at big_pipe.js?v=10.1.2:138:3
attach @ cshs.ts:14
(anonymous) @ drupal.js?v=10.1.2:166
Drupal.attachBehaviors @ drupal.js?v=10.1.2:162
(anonymous) @ big_pipe.js?v=10.1.2:118
(anonymous) @ big_pipe.js?v=10.1.2:138
setTimeout (async)
Drupal.throwError @ drupal.js?v=10.1.2:63
(anonymous) @ drupal.js?v=10.1.2:168
Drupal.attachBehaviors @ drupal.js?v=10.1.2:162
(anonymous) @ big_pipe.js?v=10.1.2:118
(anonymous) @ big_pipe.js?v=10.1.2:138
drupal.js?v=10.1.2:64 Uncaught TypeError: $(...).once is not a function
at Object.attach (cshs.ts:14:10)
at drupal.js?v=10.1.2:166:24
at Array.forEach (<anonymous>)
at Drupal.attachBehaviors (drupal.js?v=10.1.2:162:34)
at HTMLUListElement.<anonymous> (ajax.js?v=10.1.2:1362:20)
at Function.each (jquery.min.js?v=3.7.0:2:3129)
at ce.fn.init.each (jquery.min.js?v=3.7.0:2:1594)
at Drupal.AjaxCommands.insert (ajax.js?v=10.1.2:1360:21)
at ajax.js?v=10.1.2:1034:41
attach @ cshs.ts:14
(anonymous) @ drupal.js?v=10.1.2:166
Drupal.attachBehaviors @ drupal.js?v=10.1.2:162
(anonymous) @ ajax.js?v=10.1.2:1362
each @ jquery.min.js?v=3.7.0:2
each @ jquery.min.js?v=3.7.0:2
insert @ ajax.js?v=10.1.2:1360
(anonymous) @ ajax.js?v=10.1.2:1034
setTimeout (async)
Drupal.throwError @ drupal.js?v=10.1.2:63
(anonymous) @ drupal.js?v=10.1.2:168
Drupal.attachBehaviors @ drupal.js?v=10.1.2:162
(anonymous) @ ajax.js?v=10.1.2:1362
each @ jquery.min.js?v=3.7.0:2
each @ jquery.min.js?v=3.7.0:2
insert @ ajax.js?v=10.1.2:1360
(anonymous) @ ajax.js?v=10.1.2:1034
Promise.then (async)
(anonymous) @ ajax.js?v=10.1.2:1027
Drupal.Ajax.commandExecutionQueue @ ajax.js?v=10.1.2:1024
Drupal.Ajax.success @ ajax.js?v=10.1.2:1081
processReplacement @ big_pipe.js?v=10.1.2:83
checkMutationAndProcess @ big_pipe.js?v=10.1.2:99
(anonymous) @ big_pipe.js?v=10.1.2:111
processMutations @ big_pipe.js?v=10.1.2:110
drupal.js?v=10.1.2:64 Uncaught TypeError: $(...).once is not a function
at Object.attach (cshs.ts:14:10)
at drupal.js?v=10.1.2:166:24
at Array.forEach (<anonymous>)
at Drupal.attachBehaviors (drupal.js?v=10.1.2:162:34)
at HTMLAnchorElement.<anonymous> (ajax.js?v=10.1.2:1362:20)
at Function.each (jquery.min.js?v=3.7.0:2:3129)
at ce.fn.init.each (jquery.min.js?v=3.7.0:2:1594)
at Drupal.AjaxCommands.insert (ajax.js?v=10.1.2:1360:21)
at ajax.js?v=10.1.2:1034:41
attach @ cshs.ts:14
(anonymous) @ drupal.js?v=10.1.2:166
Drupal.attachBehaviors @ drupal.js?v=10.1.2:162
(anonymous) @ ajax.js?v=10.1.2:1362
each @ jquery.min.js?v=3.7.0:2
each @ jquery.min.js?v=3.7.0:2
insert @ ajax.js?v=10.1.2:1360
(anonymous) @ ajax.js?v=10.1.2:1034
setTimeout (async)
Drupal.throwError @ drupal.js?v=10.1.2:63
(anonymous) @ drupal.js?v=10.1.2:168
Drupal.attachBehaviors @ drupal.js?v=10.1.2:162
(anonymous) @ ajax.js?v=10.1.2:1362
each @ jquery.min.js?v=3.7.0:2
each @ jquery.min.js?v=3.7.0:2
insert @ ajax.js?v=10.1.2:1360
(anonymous) @ ajax.js?v=10.1.2:1034
Promise.then (async)
(anonymous) @ ajax.js?v=10.1.2:1027
Drupal.Ajax.commandExecutionQueue @ ajax.js?v=10.1.2:1024
Drupal.Ajax.success @ ajax.js?v=10.1.2:1081
processReplacement @ big_pipe.js?v=10.1.2:83
checkMutationAndProcess @ big_pipe.js?v=10.1.2:99
(anonymous) @ big_pipe.js?v=10.1.2:111
processMutations @ big_pipe.js?v=10.1.2:110
drupal.js?v=10.1.2:64 Uncaught TypeError: $(...).once is not a function
at Object.attach (cshs.ts:14:10)
at drupal.js?v=10.1.2:166:24
at Array.forEach (<anonymous>)
at Drupal.attachBehaviors (drupal.js?v=10.1.2:162:34)
at HTMLUListElement.<anonymous> (ajax.js?v=10.1.2:1362:20)
at Function.each (jquery.min.js?v=3.7.0:2:3129)
at ce.fn.init.each (jquery.min.js?v=3.7.0:2:1594)
at Drupal.AjaxCommands.insert (ajax.js?v=10.1.2:1360:21)
at ajax.js?v=10.1.2:1034:41
attach @ cshs.ts:14
(anonymous) @ drupal.js?v=10.1.2:166
Drupal.attachBehaviors @ drupal.js?v=10.1.2:162
(anonymous) @ ajax.js?v=10.1.2:1362
each @ jquery.min.js?v=3.7.0:2
each @ jquery.min.js?v=3.7.0:2
insert @ ajax.js?v=10.1.2:1360
(anonymous) @ ajax.js?v=10.1.2:1034
setTimeout (async)
Drupal.throwError @ drupal.js?v=10.1.2:63
(anonymous) @ drupal.js?v=10.1.2:168
Drupal.attachBehaviors @ drupal.js?v=10.1.2:162
(anonymous) @ ajax.js?v=10.1.2:1362
each @ jquery.min.js?v=3.7.0:2
each @ jquery.min.js?v=3.7.0:2
insert @ ajax.js?v=10.1.2:1360
(anonymous) @ ajax.js?v=10.1.2:1034
Promise.then (async)
(anonymous) @ ajax.js?v=10.1.2:1027
Drupal.Ajax.commandExecutionQueue @ ajax.js?v=10.1.2:1024
Drupal.Ajax.success @ ajax.js?v=10.1.2:1081
processReplacement @ big_pipe.js?v=10.1.2:83
checkMutationAndProcess @ big_pipe.js?v=10.1.2:99
(anonymous) @ big_pipe.js?v=10.1.2:111
processMutations @ big_pipe.js?v=10.1.2:110
drupal.js?v=10.1.2:64 Uncaught TypeError: $(...).once is not a function
at Object.attach (cshs.ts:14:10)
at drupal.js?v=10.1.2:166:24
at Array.forEach (<anonymous>)
at Drupal.attachBehaviors (drupal.js?v=10.1.2:162:34)
at drupal.init.js?v=10.1.2:32:12
at HTMLDocument.listener (drupal.init.js?v=10.1.2:20:7)
🇦🇺Australia mfuggle
The problem was indeed a user error.
The Media Type>Image>Manage Display>Default had the image field disabled. Duh...
Thanks for your help.
🇦🇺Australia mfuggle
Many thanks for the response.
The same issue arises in Olivero and also when the styles folder permissions are opened up. I'll continue to see if I can locate the cause of this issue.