I am getting below error in Facebook Pixel module when I am using it into Drupal 8.9

Uncaught ReferenceError: once is not defined at facebook_pixel.js?v=2:94:27

Facebook Pixel module , version: '2.0.0-rc4'
project: 'facebook_pixel'. Drupal version 8.9
Uncaught ReferenceError: once is not defined at facebook_pixel.js?v=2:94:27

Any patch for Drupal 8.9 in this module?

Thank you,

Command icon Show commands

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

sunilkansodiya created an issue. See original summary.

keshavv’s picture

Status: Active » Needs review

Use composer require 'drupal/facebook_pixel:2.0.0-rc2'
Downgrade your module to 2.0.0-rc2 tag instead of 2.0.0-rc4

grevil’s picture

Status: Needs review » Needs work

Drupal 8.9 as well as Drupal 9 reached its EOL, we simply forgot to drop support.

grevil’s picture

Version: 2.0.0-rc4 » 2.x-dev
Status: Needs work » Needs review
grevil’s picture

Status: Needs review » Reviewed & tested by the community

All green. I spoke internally with @Anybody, and he thinks the changes make sense as both D8 and D9 have reached their respective EOL a while ago.

grevil’s picture

Priority: Critical » Normal
grevil’s picture

Status: Reviewed & tested by the community » Fixed

  • Grevil committed 000cdf7e on 2.x
    Issue #3383188 by Grevil: Uncaught ReferenceError: once is not defined...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.