when post or view as Anonymous with html this is the error that would show on the screen:

Notice: Undefined property: stdClass::$name in ckeditor_profile_settings_compile() (line 902 of /var/www/drupal/sites/all/modules/ckeditor/includes/ckeditor.lib.inc).
Notice: Undefined property: stdClass::$name in ckeditor_profile_settings_compile() (line 908 of /var/www/drupal/sites/all/modules/ckeditor/includes/ckeditor.lib.inc).
Comment field is required.
If you want to subscribe to comments you must supply a valid e-mail address.

If html turn off then the error is gone. Anyone experience similar issue?
Thank you,

Comments

zeta1600’s picture

Yup... same here.

felixvang’s picture

I'm glad i'm not the only person. Zeta, Let me know when you solve the problem. thanks!

zeta1600’s picture

I went ahead and turned off the warnings at admin/config/development/logging. It says "It is recommended that sites running on production environments do not display any errors." I thought this was OK since it's working fine. Just didn't like the errors popping up.

Hope that helps.

mkesicki’s picture

Status: Active » Postponed

Thank you guys for noticing this issue. We will check this as soon as possible.
@zeta1600 not showing errors on production servers is always good idea , there is no sense to stress users ;)

felixvang’s picture

Zeta, I turned it off and the error went away. thanks!

Treidge’s picture

In my case this issue was caused by the CKFinder permission "CKFinder access" set for the Anonymous user.

Seems pretty logical, I've looked into the function referenced by the error description and found that it uses $user->name variable for something related to File Browser configuration. Obviously, anonymous user doesn't have it, so this causes an error. I don't know how this can be fixed inside the code, though. Maybe there should be a check that will remove the $user->name variable from the code if user is anonymous.