Hi,

Had the module working fine for the past week. As of the weekend I've been getting this error.....

Fatal error: Cannot use object of type stdClass as array in /home/xxxxxxxx/public_html/xxxxxxxx.com/sites/all/modules/wowarmory/wowarmory.module on line 280

Any help would be awesome.

Comments

nhdriver4’s picture

Assigned: Unassigned » nhdriver4

This error has been reproduced and happens when a character deletion is attempted.

nhdriver4’s picture

This has been resolved in the latest commit.

nhdriver4’s picture

Status: Active » Needs review
Talwin’s picture

Priority: Major » Normal

Whenever i run cron with the new commit it says......

Fatal error: Cannot use object of type stdClass as array in /home/xxxxxxxx/public_html/xxxxxxx.com/sites/all/modules/wowarmory/wowarmory.module on line 296

Talwin’s picture

just tried the one posted up on the 8th march and still the same error [and line reference, 296]

nhdriver4’s picture

Make sure that you overwrote the files on your web server. I'm not able to produce the error again on 7.x-1.x-dev

Talwin’s picture

i deleted all the old stuff in the module folder, then uploaded the new stuff however it does keep all the old settings.... so i'll have a look for some temp / settings file and get rid of them.

Thanks for the help btw

Talwin’s picture

ok that fixed it, thanks a million

trentoncolley’s picture

The reason I believe its keeping the old settings is because we haven't removed the variables set during configuration when the module is disabled so they're cached still. At least I think that's what's happening, probably should work on that too.

trentoncolley’s picture

Status: Needs review » Closed (fixed)