What versions and operating system are you using?
OS: Linux Firefox: 4.0.1 Firebug: 1.7.1b3 FirePHP Server Library: 0.3.2 (latest on GitHub https://github.com/cadorn/firephp-libs/blob/master/packages/core/lib/FirePHPCore/FirePHP.class.php) FirePHP Extension: 0.5.0
What is the problem? Whenever I try and output a variable that happens to be empty (e.g. an empty array) I get the following error:
["There was a problem wri...ePHP/FirebugConsole/0.1", Object { name="SyntaxError", message="Unexpected ']'", more...}]
What steps will reproduce the problem? 1. 2. 3.
What is the expected output? What do you see instead? This is OK my local machine, I get the output 'array()' for the empty array. When I push the code to the approval server (Linux), I get the error above. I believe it is only happening when Firephp is trying to output an empty value or array.
Please provide any additional information below.
Comment #1
Posted on May 10, 2011 by Swift PandaForgot to mention, my local machine is using Windows 7
Comment #2
Posted on May 11, 2011 by Happy Camel(No comment was entered for this change.)
Status: Accepted
Labels:
Type-Defect
Priority-Medium
Code