Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In my Drupal custom Widgets implementation, I am getting this error. I'm not sure why. I've put in this stop-gap patch for now.
ArgumentCountError: Too few arguments to function widgets_element_load(), 1 passed in /var/www/drupal/docroot/includes/entity.inc on line 368 and at least 2 expected in widgets_element_load() (line 918 of /var/www/drupal/docroot/sites/all/modules/contrib/widgets/widgets.module).
Comment | File | Size | Author |
---|---|---|---|
#2 | widgets-3019839-1.patch | 691 bytes | michael2hands |
Comments
Comment #2
michael2hands CreditAttribution: michael2hands as a volunteer commented