PHP strict errors running poller.php -dd
![](https://secure.gravatar.com/avatar/a8f7f23f357ea6a471f31f31a374575f.jpg?s=120&d=mm&r=g)
I’ve been running poller.php in -dd mode to try and troubleshoot somethings and came across many, many multiples of these errors in the output:
Strict Standards: Only variables should be passed by reference in /opt/observium/includes/common.inc.php on line 624 PHP Strict Standards: Only variables should be passed by reference in /opt/observium/includes/common.inc.php on line 625
My google-fu hasn’t helped me figure out why these are showing up or how to turn them off. Anyone here have any ideas?
Thanks in advance!
Platform information below:
root@monitor:/opt/observium/logs# cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 8 (jessie)" NAME="Debian GNU/Linux" VERSION_ID="8" VERSION="8 (jessie)" ID=debian HOME_URL="http://www.debian.org/" SUPPORT_URL="http://www.debian.org/support/" BUG_REPORT_URL="https://bugs.debian.org/" root@monitor:/opt/observium/logs# uname -a Linux monitor 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24) x86_64 GNU/Linux root@monitor:/opt/observium/logs# dpkg -l | egrep "php|mysql" ii libapache2-mod-php5 5.6.7+dfsg-1 amd64 server-side, HTML-embedded scripting language (Apache 2 module) ii libdbd-mysql-perl 4.028-2+b1 amd64 Perl5 database interface to the MySQL database ii libmysqlclient18:amd64 5.5.43-0+deb8u1 amd64 MySQL database client library ii mysql-client 5.5.43-0+deb8u1 all MySQL database client (metapackage depending on the latest version) ii mysql-client-5.5 5.5.43-0+deb8u1 amd64 MySQL database client binaries ii mysql-common 5.5.43-0+deb8u1 all MySQL database common files, e.g. /etc/mysql/my.cnf ii mysql-server 5.5.43-0+deb8u1 all MySQL database server (metapackage depending on the latest version) ii mysql-server-5.5 5.5.43-0+deb8u1 amd64 MySQL database server binaries and system database setup ii mysql-server-core-5.5 5.5.43-0+deb8u1 amd64 MySQL database server binaries ii php-pear 5.6.7+dfsg-1 all PEAR - PHP Extension and Application Repository ii php5 5.6.7+dfsg-1 all server-side, HTML-embedded scripting language (metapackage) ii php5-cli 5.6.7+dfsg-1 amd64 command-line interpreter for the php5 scripting language ii php5-common 5.6.7+dfsg-1 amd64 Common files for packages built from the php5 source ii php5-gd 5.6.7+dfsg-1 amd64 GD module for php5 ii php5-json 1.3.6-1 amd64 JSON module for php5 ii php5-mcrypt 5.6.7+dfsg-1 amd64 MCrypt module for php5 ii php5-mysql 5.6.7+dfsg-1 amd64 MySQL module for php5 ii php5-readline 5.6.7+dfsg-1 amd64 Readline module for php5 ii php5-xcache 3.2.0-1 amd64 Fast, stable PHP opcode cacher ii python-mysqldb 1.2.3-2.1 amd64 Python interface to MySQL root@monitor:/opt/observium/logs#
![](https://secure.gravatar.com/avatar/3bbbd945c333b8013d0dfa23058f65b9.jpg?s=120&d=mm&r=g)
On 09.06.15 15:21, Jason Lixfeld wrote:
I’ve been running poller.php in -dd mode to try and troubleshoot somethings and came across many, many multiples of these errors in the output:
If you use -dd, you should know why you need it. This is deep debug mode and needs mainly for developers. This mode enables all errors/warnigs and also warnings about strict standards.
Just use -d (single d) for turn off this warnings :P
Strict Standards: Only variables should be passed by reference in /opt/observium/includes/common.inc.php on line 624 PHP Strict Standards: Only variables should be passed by reference in /opt/observium/includes/common.inc.php on line 625
My google-fu hasn’t helped me figure out why these are showing up or how to turn them off. Anyone here have any ideas?
Thanks in advance!
Platform information below:
root@monitor:/opt/observium/logs# cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 8 (jessie)" NAME="Debian GNU/Linux" VERSION_ID="8" VERSION="8 (jessie)" ID=debian HOME_URL="http://www.debian.org/" SUPPORT_URL="http://www.debian.org/support/" BUG_REPORT_URL="https://bugs.debian.org/" root@monitor:/opt/observium/logs# uname -a Linux monitor 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24) x86_64 GNU/Linux root@monitor:/opt/observium/logs# dpkg -l | egrep "php|mysql" ii libapache2-mod-php5 5.6.7+dfsg-1 amd64 server-side, HTML-embedded scripting language (Apache 2 module) ii libdbd-mysql-perl 4.028-2+b1 amd64 Perl5 database interface to the MySQL database ii libmysqlclient18:amd64 5.5.43-0+deb8u1 amd64 MySQL database client library ii mysql-client 5.5.43-0+deb8u1 all MySQL database client (metapackage depending on the latest version) ii mysql-client-5.5 5.5.43-0+deb8u1 amd64 MySQL database client binaries ii mysql-common 5.5.43-0+deb8u1 all MySQL database common files, e.g. /etc/mysql/my.cnf ii mysql-server 5.5.43-0+deb8u1 all MySQL database server (metapackage depending on the latest version) ii mysql-server-5.5 5.5.43-0+deb8u1 amd64 MySQL database server binaries and system database setup ii mysql-server-core-5.5 5.5.43-0+deb8u1 amd64 MySQL database server binaries ii php-pear 5.6.7+dfsg-1 all PEAR - PHP Extension and Application Repository ii php5 5.6.7+dfsg-1 all server-side, HTML-embedded scripting language (metapackage) ii php5-cli 5.6.7+dfsg-1 amd64 command-line interpreter for the php5 scripting language ii php5-common 5.6.7+dfsg-1 amd64 Common files for packages built from the php5 source ii php5-gd 5.6.7+dfsg-1 amd64 GD module for php5 ii php5-json 1.3.6-1 amd64 JSON module for php5 ii php5-mcrypt 5.6.7+dfsg-1 amd64 MCrypt module for php5 ii php5-mysql 5.6.7+dfsg-1 amd64 MySQL module for php5 ii php5-readline 5.6.7+dfsg-1 amd64 Readline module for php5 ii php5-xcache 3.2.0-1 amd64 Fast, stable PHP opcode cacher ii python-mysqldb 1.2.3-2.1 amd64 Python interface to MySQL root@monitor:/opt/observium/logs# _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/a8f7f23f357ea6a471f31f31a374575f.jpg?s=120&d=mm&r=g)
I suppose that makes sense, doesn’t it? :)
On Jun 9, 2015, at 8:32 AM, Mike Stupalov mike@observium.org wrote:
On 09.06.15 15:21, Jason Lixfeld wrote:
I’ve been running poller.php in -dd mode to try and troubleshoot somethings and came across many, many multiples of these errors in the output:
If you use -dd, you should know why you need it. This is deep debug mode and needs mainly for developers. This mode enables all errors/warnigs and also warnings about strict standards.
Just use -d (single d) for turn off this warnings :P
Strict Standards: Only variables should be passed by reference in /opt/observium/includes/common.inc.php on line 624 PHP Strict Standards: Only variables should be passed by reference in /opt/observium/includes/common.inc.php on line 625
My google-fu hasn’t helped me figure out why these are showing up or how to turn them off. Anyone here have any ideas?
Thanks in advance!
Platform information below:
root@monitor:/opt/observium/logs# cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 8 (jessie)" NAME="Debian GNU/Linux" VERSION_ID="8" VERSION="8 (jessie)" ID=debian HOME_URL= "http://www.debian.org/"
SUPPORT_URL= "http://www.debian.org/support/"
BUG_REPORT_URL= "https://bugs.debian.org/"
root@monitor:/opt/observium/logs# uname -a Linux monitor 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24) x86_64 GNU/Linux root@monitor:/opt/observium/logs# dpkg -l | egrep "php|mysql" ii libapache2-mod-php5 5.6.7+dfsg-1 amd64 server-side, HTML-embedded scripting language (Apache 2 module) ii libdbd-mysql-perl 4.028-2+b1 amd64 Perl5 database interface to the MySQL database ii libmysqlclient18:amd64 5.5.43-0+deb8u1 amd64 MySQL database client library ii mysql-client 5.5.43-0+deb8u1 all MySQL database client (metapackage depending on the latest version) ii mysql-client-5.5 5.5.43-0+deb8u1 amd64 MySQL database client binaries ii mysql-common 5.5.43-0+deb8u1 all MySQL database common files, e.g. /etc/mysql/my.cnf ii mysql-server 5.5.43-0+deb8u1 all MySQL database server (metapackage depending on the latest version) ii mysql-server-5.5 5.5.43-0+deb8u1 amd64 MySQL database server binaries and system database setup ii mysql-server-core-5.5 5.5.43-0+deb8u1 amd64 MySQL database server binaries ii php-pear 5.6.7+dfsg-1 all PEAR - PHP Extension and Application Repository ii php5 5.6.7+dfsg-1 all server-side, HTML-embedded scripting language (metapackage) ii php5-cli 5.6.7+dfsg-1 amd64 command-line interpreter for the php5 scripting language ii php5-common 5.6.7+dfsg-1 amd64 Common files for packages built from the php5 source ii php5-gd 5.6.7+dfsg-1 amd64 GD module for php5 ii php5-json 1.3.6-1 amd64 JSON module for php5 ii php5-mcrypt 5.6.7+dfsg-1 amd64 MCrypt module for php5 ii php5-mysql 5.6.7+dfsg-1 amd64 MySQL module for php5 ii php5-readline 5.6.7+dfsg-1 amd64 Readline module for php5 ii php5-xcache 3.2.0-1 amd64 Fast, stable PHP opcode cacher ii python-mysqldb 1.2.3-2.1 amd64 Python interface to MySQL root@monitor:/opt/observium/logs# _______________________________________________ observium mailing list
observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Mike Stupalov
http://observium.org _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (2)
-
Jason Lixfeld
-
Mike Stupalov