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.
Problem/Motivation
When accessing the revisions tab of a userpoint entity, an unexpected error is shown :
The website encountered an unexpected error. Please try again later.
Error: Call to undefined method Drupal\userpoints\Entity\UserPoints::link() in Drupal\userpoints\Controller\UserPointsController->revisionOverview() (line 137 of modules/contrib/userpoints/src/Controller/UserPointsController.php).
Path: /admin/structure/userpoints/points/XX/revisions
Drupal: 9.5.9
Userpoints: 2.0.0.-beta2
PHP: 8.1
Comment | File | Size | Author |
---|---|---|---|
#2 | call-to-undefined-link-3361234-1.patch | 3.52 KB | adevms |
Comments
Comment #2
adevms CreditAttribution: adevms at Tremend Software Consulting commentedAdded patch for the issue.
Comment #3
SocialNicheGuru CreditAttribution: SocialNicheGuru commented