Notice: Undefined property: Friendica\App::$performance in /var/www/virtual/haeder.net/friendica/htdocs/addon/rendertime/rendertime.php on line 28

Warning: Cannot modify header information - headers already sent by (output started at /var/www/virtual/haeder.net/friendica/htdocs/addon/rendertime/rendertime.php:28) in /var/www/virtual/haeder.net/friendica/htdocs/src/App.php on line 1422

Warning: Cannot modify header information - headers already sent by (output started at /var/www/virtual/haeder.net/friendica/htdocs/addon/rendertime/rendertime.php:28) in /var/www/virtual/haeder.net/friendica/htdocs/src/App.php on line 1423

Warning: Cannot modify header information - headers already sent by (output started at /var/www/virtual/haeder.net/friendica/htdocs/addon/rendertime/rendertime.php:28) in /var/www/virtual/haeder.net/friendica/htdocs/src/App.php on line 1430

Warning: Cannot modify header information - headers already sent by (output started at /var/www/virtual/haeder.net/friendica/htdocs/addon/rendertime/rendertime.php:28) in /var/www/virtual/haeder.net/friendica/htdocs/src/App.php on line 1431

Warning: Cannot modify header information - headers already sent by (output started at /var/www/virtual/haeder.net/friendica/htdocs/addon/rendertime/rendertime.php:28) in /var/www/virtual/haeder.net/friendica/htdocs/src/App.php on line 1432

Warning: Cannot modify header information - headers already sent by (output started at /var/www/virtual/haeder.net/friendica/htdocs/addon/rendertime/rendertime.php:28) in /var/www/virtual/haeder.net/friendica/htdocs/src/App.php on line 1433
Roland's Friendica Network (search)
f.haeder.net

Search

Items tagged with: xdebug

#xdebug let suppressed warnings/errors scream:
SCREAM:  Error suppression ignored for
Warning: file_get_contents(/../phptmp/friendica/daemon.pid): failed to open stream: No such file or directory in /../friendica/bin/daemon.php on line 67

This whole thing can be done otherwise:
- remove the @ from it
- use file_exists() or is_readable() to check if file exists
- if so, read it, otherwise skip further parts

This leads to better code. In addition to that, maybe this particular thing can be encapsulated away in a class?
 
You may have to install and enable #XDebug module to get a nice debug backtrace. :-) And maybe you need to enable some options for it to output more messages, e.g. about local variables and such.
 
newer older