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.
As you can see I'm not using hook_user below. I have explicitly prefixed the function name with an underscore to prevent false hooking, but coder complains with critical.
Line 413: hook_user has been removed in favour of hook_user_$op functions, for example hook_user_validate. (Drupal Docs)
function _googleanalytics_visibility_user($account) {
Comments
Comment #1
solotandem CreditAttribution: solotandem commentedComment #2
pfrenssenCannot replicate with the Coder 8.2.5.
Comment #3
hass CreditAttribution: hass commentedThis was a problem in 7.x