Severity: Notice
Message: Only variable references should be returned by reference
Filename: core/Common.php
Line Number: 257
Severity: Notice
Message: Only variables should be assigned by reference
Filename: core/Loader.php
Line Number: 150
Severity: Notice
Message: Accessing static property DataMapper::$config as non static
Filename: libraries/datamapper.php
Line Number: 6479
Severity: Notice
Message: Accessing static property Type::$config as non static
Filename: libraries/datamapper.php
Line Number: 6479
Severity: Notice
Message: Accessing static property Animal::$config as non static
Filename: libraries/datamapper.php
Line Number: 6479
Severity: Notice
Message: Accessing static property Type::$config as non static
Filename: libraries/datamapper.php
Line Number: 6479
Severity: Notice
Message: Accessing static property Type::$config as non static
Filename: libraries/datamapper.php
Line Number: 6479
Severity: Notice
Message: Accessing static property Animal::$config as non static
Filename: libraries/datamapper.php
Line Number: 6479
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /data/21/2/52/159/2052159/user/2248414/htdocs/system/core/Exceptions.php:185)
Filename: core/Common.php
Line Number: 438
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY RAND() LIMIT 10' at line 4
SELECT `types`.* FROM (`types`) LEFT OUTER JOIN `animals_types` animals_types ON `types`.`id` = `animals_types`.`type_id` WHERE `animals_types`.`animal_id` IN () ORDER BY RAND() LIMIT 10
Filename: /data/21/2/52/159/2052159/user/2248414/htdocs/third_party/DataMapper-ORM/1.8.2/libraries/datamapper.php
Line Number: 1333