Undefined property at line 3386

Forums: 

Got this notice all the time in my system log report. Is there anyway to stop it?

Notice: Undefined property: stdClass::$c in _bible_get_random_myverse() (line 3386 of C:\xampp_localhost\2012-06-21-site\eccskc.org\sites\all\modules\bible\bible.module).

Best regards,

Norman

Please upgrade to 7.x-1.5-alpha1

Dear Norman:

   This is a bug cause from Drupal 7.x upgrade. Please upgrade your bible.module to 7.x-1.5-alpha1.

MikeLee

Log report after 7.x-1.5-alpha1

Dear Mike,

Thank you for the instruction. I upgrade the bible.module to 7.x-1.5-alpha1 and the eairlier issue is cleared. However, there are other messages appeared, such as:

Notice: Undefined offset: 1 in _bible_get_verse_content2() (line 3249 of /home/eccskc/eccskc.org/sites/all/modules/bible/bible.module).

Notice: Undefined offset: 2 in _bible_get_verse_content2() (line 3246 of /home/eccskc/eccskc.org/sites/all/modules/bible/bible.module).

Notice: Undefined offset: 3 in _bible_get_notemask() (line 3461 of /home/eccskc/eccskc.org/sites/all/modules/bible/bible.module).

PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'recommend.gif' in 'where clause': SELECT * FROM {bible_context} WHERE bid IN (2) AND book = 'GEN' AND chapter = recommend.gif ORDER BY verse, linemark DESC,FIELD(bid, 2); Array ( ) in bible_all() (line 1665 of /home/eccskc/eccskc.org/sites/all/modules/bible/bible.module).

Do they affect the Bible function? Are there someway to fix them? 

Best Regards,

Norman



I might be multi-language effect

Dear Norman:

    I went to your site, I guess this might cause from your sites is multi-language. It's just my guess, is your site still report the above errors as well?

MikeLee

Error message

Yes, it still report those errors. A lots of them are caused by public access to the Bible. The system is running on Drupal 7.14 with bible.module 7.x-1.5-alpha1. Just updated to the latest multilingual 7.x-1.7  and variable 7.x-2.1 without any improvement.

Norman

I can't found any messages

Dear Madaline:

    I don't found any messages on your www site. Could you give me the correct url ?

MikeLee