Hi there!
I´m getting this nasty error when I try to install this module (I´ve uploaded all files and I´m trying to activate it for the first time actually):
Fatal error: Cannot use object of type stdClass as array in .../sites/all/modules/complete/complete.install on line 111
When I hit save it appears that line with a blank page.
If I reload the page, the normal module´s list appears, the complete module isn´t activated, but this warning appears:
user warning: Table 'complete' already exists query: CREATE TABLE complete ( `nid` INT unsigned NOT NULL DEFAULT 0, `rule` VARCHAR(255) NOT NULL DEFAULT '', `runs` INT unsigned NOT NULL DEFAULT 0, `total_runs` INT unsigned NOT NULL DEFAULT 0, `completed` INT unsigned NOT NULL DEFAULT 0, `remaining` INT unsigned NOT NULL DEFAULT 0, `path` VARCHAR(255) NOT NULL DEFAULT '', PRIMARY KEY (nid) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in .../includes/database.inc on line 529.
I´m setting this as critical because it won´t let me install this module.
Any ideas? (I´ve double checked the correct uploads of all files)
Comments
Comment #1
tema commentedLooks like a typo..
complete.install, line 111
$node_type['type']should be$node_type->typeComment #2
tema commentedWell.. There's smallest patch I've ever seen
Comment #3
Rosamunda commentedYup, it seems that it worked :)
Thanks!
Comment #4
pvhee commentedCommitted to HEAD, thanks!