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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | d7_picture_warning.patch | 247 bytes | jchatard |
Comments
Comment #1
jchatard commentedHi anavarre,
Can you try this patch? And tell me if everything goes right.
Thanks,
Jérémy
Comment #2
anavarreI've just applied the patch. I'll let you know if everything goes fine in a few days.
Thank you for the quick fix.
Comment #3
anavarreHello,
It's been three days and everything seems just fine. I guess this issue is solved !
Thank you
Comment #4
anavarreUnfortunately I've just had the error again. Maybe there's a specific action that we need to do in order to make it happen ?
Comment #5
jchatard commentedSame line?
Can you tell me if this occurs when viewing a user that does have a picture or not?
Thanks,
Jérémy
Comment #6
anavarreYes, 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 !
Comment #7
BenK commentedSubscribing
Comment #8
jchatard commentedAny 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
Comment #9
anavarreYes, 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.
Comment #10
jchatard commentedI 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
Comment #11
anavarreI'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 ?
Comment #12
jchatard commentedOk, 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