Notice: Undefined offset: 0 in /var/www/html/wp-content/plugins/tealium/tealium.
-
I have the error on my WordPress application:
Notice: Undefined offset: 0 in /var/www/html/wp-content/plugins/tealium/tealium.php on line 381
It’s because the roles of my user are not beginning from 0. So to fix we should replace
$utagdata['userRole'] = $role[0];
to
$utagdata['userRole'] = $role[array_key_first($role)];
at /var/www/html/wp-content/plugins/tealium/tealium.php on line 381Can somebody do it, please?
- The topic ‘Notice: Undefined offset: 0 in /var/www/html/wp-content/plugins/tealium/tealium.’ is closed to new replies.