Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Just installed on a site I'm developing. After installing, I used the web importer to import the KJV Bible. After installing I went back to the list and received the following errors. I do not see this error on any other pages. Book count and verse count are blank.
I checked on the other site I have this on and it has two Bibles installed, so the same set of four errors show up twice. It also does not have book or verse count either.
Notice: Undefined property: stdClass::$c in bible_admin_list() (line 691 of /home/.../modules/bible/bible.module).
Notice: Undefined property: stdClass::$c in bible_admin_list() (line 691 of /home/.../modules/bible/bible.module).
Notice: Undefined property: stdClass::$c in bible_admin_list() (line 693 of /home/.../modules/bible/bible.module).
Notice: Undefined property: stdClass::$c in bible_admin_list() (line 693 of /home/.../modules/bible/bible.module).
Comment | File | Size | Author |
---|---|---|---|
#16 | bible-fix-undefined-properties-1816130-16.patch | 690 bytes | berenddeboer |
#13 | bible-fix-undefined-properties-1816130-13.patch | 1.26 KB | berenddeboer |
#10 | bible-fix-undefined-properties-1816130-1.patch | 1.45 KB | rhuffstedtler |
Comments
Comment #1
MikeLee_Birdy CreditAttribution: MikeLee_Birdy commentedDear Sir:
Please upgrade to lastest version. Refer http://drupalbible.org/comment/370 .
MikeLee
Comment #2
DevJoshLopez CreditAttribution: DevJoshLopez commentedI am on the latest version and still seeing this.
Comment #3
sifuhall CreditAttribution: sifuhall commentedI have the same issue, version 7.14
Comment #4
shabam CreditAttribution: shabam commentedAny movement on this? I too am getting this error on 7.14
Comment #5
MikeLee_Birdy CreditAttribution: MikeLee_Birdy commentedDear Sir:
How about go more recent version of Drupal 7, like 7.22 ?
MikeLee
Comment #6
ssoulless CreditAttribution: ssoulless commentedIm using Drupal 7.23 and the 7.x-1.4 of this module.
I have exactly the same error... Please give us any solution!!!
Comment #7
urhinex CreditAttribution: urhinex commentedAlso having the same error.....Need some help on it please
Comment #8
Kebz CreditAttribution: Kebz commentedWell .. this is strange. I just did the web import for two of my websites. One is successful and has no errors ... but the other one is throwing me this notice below when I click on the "List" tab =\ ... please note the "Backtrace" info and hopefully someone will be able to help resolve the problem. Thanks in advance! =)
Comment #9
Kebz CreditAttribution: Kebz commentedAs I was setting the blocks, this notice popped up. My other site is not getting these issues at all. I have no idea what could cause this other than different theme settings?? Both are using the same PHP and Drupal core versions.
Comment #10
rhuffstedtler CreditAttribution: rhuffstedtler commentedThe attached patch against version 7.x-1.4 should fix this.
Comment #11
Kebz CreditAttribution: Kebz commentedHi @rhuffstedtler
After I posted, I did a search and also searched on his website and found this link http://drupalbible.org/content/notice-undefined-property-stdclassc-en-bi... -- where he notes this
The thing is this ... his Bible project page (https://www.drupal.org/project/bible) only lists these versions
Version Download Date Links
and nowhere does it talk about this release "bible 7.x-1.5-alpha4" https://www.drupal.org/node/2014421
It's frustrating when this sort of thing happens =\
I'm going to create an issue noting the more recent release that everyone should upload to their site.
BTW ... thank you for contributing the patch. I just saw your post AFTER all the above, so I won't be able to test it out.
Thanks again =)
Comment #12
rhuffstedtler CreditAttribution: rhuffstedtler commentedHi @Kebz, 7.x-1.5-alpha4 is a tag rather than a branch. So, you would have to clone the project from git and then checkout that specific branch.
There doesn't seem to have been much activity from the maintainers in a long time. If I don't see any action on this, I may reach out and inquire about becomeing a co-maintainer.
Comment #13
berenddeboer CreditAttribution: berenddeboer commentedThe attached patch renamed variables, but didn't replace all usages. This patch improves upon that.
Comment #15
rhuffstedtler CreditAttribution: rhuffstedtler commentedberenddeboer - Made a slight change, merged your patch into 7.x-1.x, and tested locally. Please verify and let me know if we're good to close the issue.
Comment #16
berenddeboer CreditAttribution: berenddeboer commentedTwo more changes:
Comment #17
berenddeboer CreditAttribution: berenddeboer commentedComment #18
rhuffstedtler CreditAttribution: rhuffstedtler commented