Hello,

I've just noticed this PHP error in the message logs :

Notice: Undefined property: stdClass::$picture in drupad_content_list() (line 88 in /mysite/all/modules/drupad/includes/content.inc

It seems like there is as many errors are there are users pictures displayed within the app.

CommentFileSizeAuthor
#1 d7_picture_warning.patch247 bytesjchatard

Comments

jchatard’s picture

Assigned: Unassigned » jchatard
Status: Active » Needs review
StatusFileSize
new247 bytes

Hi anavarre,

Can you try this patch? And tell me if everything goes right.

Thanks,
Jérémy

anavarre’s picture

I've just applied the patch. I'll let you know if everything goes fine in a few days.

Thank you for the quick fix.

anavarre’s picture

Status: Needs review » Reviewed & tested by the community

Hello,

It's been three days and everything seems just fine. I guess this issue is solved !

Thank you

anavarre’s picture

Status: Reviewed & tested by the community » Active

Unfortunately I've just had the error again. Maybe there's a specific action that we need to do in order to make it happen ?

jchatard’s picture

Same line?

Can you tell me if this occurs when viewing a user that does have a picture or not?

Thanks,
Jérémy

anavarre’s picture

Yes, same line.

Some users have a picture (not all) but I don't feel like I have to select a particular user profile to get the errors. Actually I thought it happened when browsing the main user list and refreshing (up) or trying to display more user profiles (down) but I can't reproduce the errors.

Anyway I've just tried to reproduce the following steps : refreshing, displaying more user profiles, selecting any user with or without a user picture and I got the errors again. Then I tried again the same steps and didn't get any error this time.

Weird !

BenK’s picture

Subscribing

jchatard’s picture

Version: 7.x-1.0-beta1 » 7.x-1.0

Any news on this?

I'm bumping the version as this is not fixed nor did we discover the source of the problem.

Jérémy

anavarre’s picture

Yes, the error still exists as I said in #6 but I have "good" news, I've just understood how and when it happens.

When I try to browse Content (section) > Content (vertical tab), the app quits unexpectedly EVERY time. Then, there are about 25 new log entries with the message I gave at the beginning of the issue.

jchatard’s picture

Status: Active » Needs review

I think we might have something good now. You need to test with your install.

The notice should be gone, and obviously the app shouldn't crash anymore.

I think you were experimenting a crash because your PHP config may be set to display notices (or something like that).

Try 7.x-1.1 and change the issue status accordingly.

Thanks,
Jérémy

anavarre’s picture

Status: Needs review » Needs work

I've just upgraded to 7.x-1.1 and I don't have the error log entries anymore. Good thing.

Unfortunately, the app still crashes exactly the same way. FYI, I don't have my PHP config displaying errors nor Drupal displaying them.

Do you think the app crashing is Drupad related ?

jchatard’s picture

Status: Needs work » Fixed

Ok, I'm marking this as fixed as the original issue is fixed.

Just re-opened a new thread here: #1094356: Content tab crashes

Jérémy

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.