Error:
Note. Attempts to get the non-object property in the ulogin_username_alter() function (line 344 in the file /mnt/data/site/readyshop/sites/all/modules/contrib/ulogin/ulogin.module).
Warning: array_flip (): you can only flip the values ​​of STRING and INTEGER! In the EntityCacheControllerHelper :: entityCacheLoad () function (line 73 in the file /mnt/data/site/readyshop/sites/all/modules/contrib/entitycache/includes/entitycache.entitycachecontrollerhelper.inc).

This error appears on the order editing page:
SITENAME/admin/store/orders/ORDER_ID
Reason for error:
- The user bought the order in "ubercart"
- this user was removed from the site, but the order remained on it.
- at the time of loading the order, the user of which is not on the site
- an empty user is passed to the function "format_username ($account)"
- runs "ulukin" ulogin_username_alter (&$name, $account) in which "$account = null"

Added a check and created a patch.
It is necessary to add to fix this in the module.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

yuraosn created an issue. See original summary.

yuraosn’s picture