Closed (won't fix)
Project:
erp
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
6 Jun 2007 at 20:12 UTC
Updated:
4 Sep 2009 at 02:34 UTC
I get the following when I select "accounts" in the erp accounting menu.
Fatal error: Cannot unset string offsets in http://mywebsite\includes\form.inc on line 319
The installation was handled using the erp.profile with Drupal 5.1 and either erp-5.x-1.1 and ero-HEAD.
Comments
Comment #1
pkarl commentedI think you have a string going into a form function where you should have an array. I'm working on this problem myself.
Comment #2
msjoedin commentedAny news on this one? Does anyone have a workaround or a clue on why this error is occurring?
/ Mats
Comment #3
singularoThere are a lot more issues with the v5.x version at this stage. Development is still in 4-7 at the moment, so 5.x isn't getting much love.
The accounts menu allows configuration of accounts, but that isn't yet used anywhere else, so can safely be ignored for now.
Any patches/updates will definitely be looked at/applied if you're a developer looking to help.
Comment #4
Ryan Palmer commentedThe issue is within hook_menu of erp_accounting.module (line 52ish). The menu item is being treated as a form, not a regular page, and Drupal doesn't appreciate it. The code:
Should be:
Comment #5
singularoThe 5.x branch of erp has never been completed, please try the 6.x branch instead, which is nearing beta quality.