Issues with uber_affiliate_user_presave

Created on 19 February 2022, about 3 years ago
Updated 20 July 2023, over 1 year ago

Problem/Motivation

Edit:
the implementation of hook_entity_presave has changed in Drupal 9.2
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Entity%21...

function hook_entity_presave(Drupal\Core\Entity\EntityInterface $entity)

Original:
php 7.4
Drupal 9.2.12
drush 8.4.8

drush upwd user --password="new password"
Parameter 1 to uber_affiliate_user_presave() expected to be a reference, value given [warning]
ModuleHandler.php:403
ArgumentCountError: Too few arguments to function uber_affiliate_user_presave(), 1 passed and[error]
exactly 3 expected in uber_affiliate_user_presave() (line 38 of
drupal9/html/modules/contrib/uber_affiliate/uber_affiliate.module)

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

🇺🇸United States SocialNicheGuru

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024