Fatal error: Cannot use string offset as an array in C:\apachefriends\xampp\htdocs\qa47\modules\system.module on line 722

After I install the tac_lite module I get this error when I click on settings..tac_lite.

I'm not sure what I am supposed to do with tac_lite.install.

Help? Thanks.

Comments

Dave Cohen’s picture

Assigned: Unassigned » Dave Cohen

Jaykali,

I moved the settings page from administer >> settings to administer >> access control. I think if you refresh your cache, you will no longer see the link in admin >> settings and everything will work fine.

To refresh the cache, use the devel module or got to administer >> module and hit submit (without making changes).

Please let me know if this solves it. I'm not sure how I can change the module to prevent this from happenning to anyone else.

drupalninja99’s picture

I downloaded the tac lite file and the link is still in settings, i deactivated and reactivated the module but it's still there.

Dave Cohen’s picture

Do you see the pages at administer >> access control?

Can you try this SQL and let me know if it solves your menu problem? If so I can put it in an update hook. (Backup your database before trying).

DELETE FROM menu WHERE path LIKE 'admin/settings/tac_lite%';

Thanks.

Dave Cohen’s picture

Status: Active » Fixed

administer >> settings >> tac_lite would not disappear because a function named tac_lite_settings was defined. I intended that function to be a menu callback, but it has the name of hook_settings.

Renamed the function.

Anonymous’s picture

Status: Fixed » Closed (fixed)