When an anonymous user consults a Product Display with a Commerce File I am experiencing this message:

Notice: Undefined property: stdClass::$name in commerce_file_plugin_argument_validate_user->_set_allowed_argument() (line 107 of /Users/italo/Sites/inuedizioni.com_hostgator/sites/all/modules/commerce_file/views/handlers/commerce_file_plugin_argument_validate_user.inc).

For now I /solved/fixed changing the 107 line of code with this:

$this->argument->validated_title = (isset($account->name)) ? check_plain($account->name) : "";

I didn't see any having this … what might be caused by? It seems the the $account is not defined in the function …

Comments

itamair’s picture

Status: Active » Closed (cannot reproduce)

Ok … it went away after the first page refresh ...