A PHP Error was encountered

Severity: Notice

Message: Only variable references should be returned by reference

Filename: core/Common.php

Line Number: 257

A PHP Error was encountered

Severity: Warning

Message: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: No address associated with hostname

Filename: lib/Connection.php

Line Number: 239


Fatal error: Uncaught exception 'ActiveRecord\DatabaseException' with message 'exception 'PDOException' with message 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: No address associated with hostname' in /var/www/data/client/tbutler/thomasbutler/web/projects/sparks/php-activerecord/0.0.2/vendor/php-activerecord/lib/Connection.php:239 Stack trace: #0 /var/www/data/client/tbutler/thomasbutler/web/projects/sparks/php-activerecord/0.0.2/vendor/php-activerecord/lib/Connection.php(239): PDO->__construct('mysql:host=eef4...', 'thomasbutl_prou...', 'ohGTKU33vYVuZab...', Array) #1 /var/www/data/client/tbutler/thomasbutler/web/projects/sparks/php-activerecord/0.0.2/vendor/php-activerecord/lib/Connection.php(101): ActiveRecord\Connection->__construct(Object(stdClass)) #2 /var/www/data/client/tbutler/thomasbutler/web/projects/sparks/php-activerecord/0.0.2/vendor/php-activerecord/lib/ConnectionManager.php(33): ActiveRecord\Connection::instance('mysql://thomasb...') #3 /var/www/data/client/tbutler/thomasbutler/we in /var/www/data/client/tbutler/thomasbutler/web/projects/sparks/php-activerecord/0.0.2/vendor/php-activerecord/lib/Connection.php on line 241