Firstly, I have to offer thanks for an excellent package of drupal modules! it was these that caused me to chose Drupal over other CMS packages for my first WOW Guild site.

I have spent some time now working with the modules, running both branches (2.0 and 4.0) and have settled with 2.0 currently due to the extra stats that it is able to pull from the armory. The error messages below exist similarly in both branches (although there are less in 4.0). Ive *** the root directory structure.

The site runs on a Windows 2008 r2 server, iis7.5 (with url rewrite), php5.3 and MS SQL Server 2008r2 (using the MSSQL drupal driver).

"Notice: Undefined property: stdClass::$classid in template_preprocess_wowtoon() (line 1057 of ***\sites\all\modules\wowguild\wowtoon.module)" - The error is repeated for lines 1059.

"Notice: Undefined property: stdClass::$raceid in template_preprocess_wowtoon() (line 1060 of ***\sites\all\modules\wowguild\wowtoon.module)." - The error is repeated for lines 1060, 1977, 1980, 1983, 1986 and 1977.

"Notice: Undefined property: stdClass::$genderid in wowtoon_get_render() (line 1977 of D:\wwwroot\WOW_asylum\sites\all\modules\wowguild\wowtoon.module)." - The error repeats for lines 1977, 1980, 1983, 1986 and 1977.

If you want to see the site: http://www.insaneasylum.co.uk (I've disabled php errors currently as I'm expecting to release the site to the guild in the next couple of weeks, once at least forum and Raid Calendar functions are running. I can re-enable them if you want to see them in action).

Thanks
Paul

Comments

paul_vipond’s picture

Apologies, I meant to explain in the original post - I've rated this as a minor bug as I cannot see any negative fallout from these bugs, they are purely to bring them to your attention (particulary if they are related to the SQL server setup which is probably still relatively rare for drupal sites).

technobrarygeek’s picture

I'm adding my issue here as it appears to be related.

Immediately after updating to Drupal 7.14 I started getting several versions of this message.

Notice: Undefined property: WoWGuild::$achievementpoints in wowguild_preprocess_entity() (line 1276 of /home/mybgspa3/public_html/death-becomes.us/sites/all/modules/wowguild/wowguild.module).

Replace $achievementpoints with $raceid, or $genderid and the corresponding line number for the complete list.

Bill

ytwater’s picture

Guess I hadn't bothered to update to 7.14 :D

It looks like Drupal updated it's database handling where they no longer force the fields to be lowercase. I think I've gotten all of the variables.

Check out 7.x-2.0-alpha21 and 7.x-4.0-alpha7, and let me know if you still get any errors.

technobrarygeek’s picture

updated to 7.x-4.0-alpha7

so far so good

Thanks

skitten6’s picture

I am having the same issue seeing

Notice: Undefined property: WoWToon::$raceId in WoWToon->loadToon(

Notice: Undefined property: WoWToon::$genderId in WoWToon->

Notice: Undefined property: WoWToon::$raceId in WoWToon->loadToon()

the site is a fresh drupal 7.12 install with 7.x-4.0-alpha7 wow guild.

ytwater’s picture

Update your drupal install to 7.14. I'll have to see if I can make that a dependency.