- Issue created by @Mutwakel
- Assigned to Tirupati_Singh
- 🇮🇳India Tirupati_Singh
Hi @Mutwakel, could you please provide the steps to reproduce the issue?
- Merge request !3Issue #3463651: Fixed type error $.cookie is not a function. → (Open) created by Tirupati_Singh
- 🇮🇳India Tirupati_Singh
Tirupati_Singh → changed the visibility of the branch 3463651-uncaught--typeerror to hidden.
- Issue was unassigned.
- Status changed to Needs review
4 months ago 1:16pm 25 July 2024 - 🇮🇳India Tirupati_Singh
Hi @Mutwakel, got the Uncaught TypeError: $.cookie is not a function at Object.announcementModal error when using Drupal 10 and the issue exists against the
<strong> 2.x </strong>
branch of this module. I've fixed the $.cookie is not a function issue and raised the MR against the 2.x branch.
Attaching the before and after attachments for the issue for reference. Please review the MR. - 🇸🇩Sudan Mutwakel Khartoum
Hi @Tirupati_Singh After viewing the MR i can confirm that the issue is fixed for the 2.x branch in drupal 10
- 🇸🇩Sudan Mutwakel Khartoum
hi @Tirupati_Singh
if you choose :Background ImageError: Call to undefined function Drupal\announcement_modal\Plugin\Block\file_create_url() in Drupal\announcement_modal\Plugin\Block\Announcement->build() (line 75 of C:\laragon\www\etemp\modules\contrib\announcement_modal\src\Plugin\Block\Announcement.php).
- 🇮🇳India Tirupati_Singh
Hi @Mutwakel, I've tried replicating the issue and the issue persists. However, the issue is not related to this issue. You can create a new one regarding this. Function
file_create_url()
was deprecated in Drupal 9.3 and removed in Drupal 10. - Status changed to RTBC
3 months ago 9:01am 29 August 2024 Hello,
I have checked both the branches, 8.x-1.x and the 2.x, both showed the below error in the console.
After applying theMR !3
the error got resolved. Attaching screenshot for the reference.
The MR looks good to me so moving this to RTBC.
- 🇮🇳India akshay_d Bangalore
Hello folks,
Thanks for jumping into this and for the patch. I will release the new version with fix.