krvechtivy / php-console

Automatically exported from code.google.com/p/php-console
0 stars 0 forks source link

Fails inside Wordpress plugin #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create Wordpress plugin 
2. Add PhpConsole include
3. Activate/load plugin

What is the expected output? What do you see instead?
Unaltered functioning of plugin, instead get PhpConsole ERROR: setcookie() 
failed because haders are sent 
(/web/prd/3dn.nl/wp-includes/functions.php:3155). Try to use ob_start()

What version of the product are you using? On what operating system?
SVN version on Linux, Wordpress 3.1.3

Please provide any additional information below.
Great plugin. Read some of the comments and would also love filtering in PHP 
Console as Wordpress and it's plugins seem to be using a lot of E_DEPRECATED :)

Original issue reported on code.google.com by fredje.l...@gmail.com on 19 Jun 2011 at 7:12

GoogleCodeExporter commented 9 years ago
Thanks for report :)
"Try to use ob_start()" in some root WordPress scripts :)
Abd there will be filter by error types/debug tags in bext version of 
PhpConsole.

Original comment by barbushin on 19 Jun 2011 at 8:33