google-code-export / firephp

Automatically exported from code.google.com/p/firephp
1 stars 0 forks source link

Syntax error: "Unexpected ']'" #169

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by rikki...@gmail.com on 10 May 2011 at 3:17

GoogleCodeExporter commented 9 years ago
Forgot to mention, my local machine is using Windows 7

Original comment by rikki...@gmail.com on 10 May 2011 at 3:19

GoogleCodeExporter commented 9 years ago

Original comment by christ...@christophdorn.com on 11 May 2011 at 2:56