Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Work Order Error?
01-12-2014, 10:39 PM
Post: #1
Work Order Error?
In weberp when i create a work order with a Batch number it display an error that is:

Fatal error: [] operator not supported for strings in /home/......My path....../WOSerialNos.php on line 208


But work Order completed. Please suggest me.

Thank you
Find all posts by this user
Quote this message in a reply
01-13-2014, 07:40 AM
Post: #2
RE: Work Order Error?
I have seen this happening in 4.11.2 myself. Will look into it tomorrow.

Thanks
Tim
Visit this user's website Find all posts by this user
Quote this message in a reply
01-14-2014, 12:59 AM
Post: #3
RE: Work Order Error?
Ok, this is fairly easy to solve.

It is another of those problems where the developer didn't initialise the variable before using it. Allowed in PHP but not advisable. By setting error_reporting to be -1 in config.php developers can normally find these errors before committing.

Solution:

Insert

$sql = array();

at line 180 of WOSerialNos.php immediately below the line

$WOQuantityTotal=0;

Thanks
Tim
Visit this user's website Find all posts by this user
Quote this message in a reply
01-15-2014, 04:29 PM
Post: #4
RE: Work Order Error?
Perhaps I was witholding development :-)

Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Visit this user's website Find all posts by this user
Quote this message in a reply
01-15-2014, 07:35 PM
Post: #5
RE: Work Order Error?
(01-15-2014 04:29 PM)phil Wrote:  Perhaps I was witholding development :-)

Entirely up to you of course, but being open source its probably best not to withhold development?
Visit this user's website Find all posts by this user
Quote this message in a reply
01-15-2014, 08:48 PM
Post: #6
RE: Work Order Error?
(01-15-2014 07:35 PM)Forums Wrote:  
(01-15-2014 04:29 PM)phil Wrote:  Perhaps I was witholding development :-)

Entirely up to you of course, but being open source its probably best not to withhold development?

Phil Sir what happen why you withhold development?
Find all posts by this user
Quote this message in a reply
01-16-2014, 03:26 AM
Post: #7
RE: Work Order Error?
I was joking of course. I gave webERP to the GPL and will continue to support it as long as I enjoy doing so.

Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Visit this user's website Find all posts by this user
Quote this message in a reply
01-16-2014, 03:42 AM
Post: #8
RE: Work Order Error?
(01-16-2014 03:26 AM)phil Wrote:  I gave webERP to the GPL

As did all the rest of the contributors Smile
Visit this user's website Find all posts by this user
Quote this message in a reply
01-19-2014, 11:31 PM
Post: #9
RE: Work Order Error?
I have had to remind you before Phil, that you must remember that the webERP community contains people of many different cultures, and many different languages. Sarcasm rarely works in a language that is not your first (to be honest it's not the greatest way of expressing yourself in any language), and what you might intend as banter or sarcasm can be misunderstood or considered hurtful by people of other cultures or languages.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-24-2014, 05:38 PM
Post: #10
RE: Work Order Error?
I have used WebErp for a while and I find a very
useful software.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)