(error_library.php:26 print_pre() call. )(:)(:)
$obj (array)
*message 42000, 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 country_sort_order asc, name asc' at line 1
Exceptionstring [empty string]
*code 42000
*file /var/www/vhosts/numones.com/httpdocs/_core_2.4.2/thirdparty/activerecord/lib/Connection.php
*line 312
Exceptiontrace
array
0
array
file /var/www/vhosts/numones.com/httpdocs/_core_2.4.2/thirdparty/activerecord/lib/Table.php
line 218
function query
class ActiveRecord\Connection
type ->
args
array
0 SELECT * FROM `stamps` WHERE sold = 0 AND damaged = 0 AND active = 1 AND country_id = ORDER BY country_sort_order asc, name asc
1
array
1
array
file /var/www/vhosts/numones.com/httpdocs/_core_2.4.2/thirdparty/activerecord/lib/Table.php
line 209
function find_by_sql
class ActiveRecord\Table
type ->
args
array
0 SELECT * FROM `stamps` WHERE sold = 0 AND damaged = 0 AND active = 1 AND country_id = ORDER BY country_sort_order asc, name asc
1
array
2 FALSE
3 NULL
2
array
file /var/www/vhosts/numones.com/httpdocs/_core_2.4.2/thirdparty/activerecord/lib/Model.php
line 1561
function find
class ActiveRecord\Table
type ->
args
array
0
array
conditions sold = 0 AND damaged = 0 AND active = 1 AND country_id =
order country_sort_order asc, name asc
mapped_names
array
3
array
function find
class ActiveRecord\Model
type ::
args
array
0 all
1
array
conditions sold = 0 AND damaged = 0 AND active = 1 AND country_id =
order country_sort_order asc, name asc
4
array
file /var/www/vhosts/numones.com/httpdocs/_core_2.4.2/thirdparty/activerecord/lib/Model.php
line 1389
function call_user_func_array
args
array
0 static::find
1
array
0 all
1
array
conditions sold = 0 AND damaged = 0 AND active = 1 AND country_id =
order country_sort_order asc, name asc
5
array
file /var/www/vhosts/numones.com/httpdocs/app/pages/countries/_countries-stamps.php
line 2
function all
class ActiveRecord\Model
type ::
args
array
0
array
conditions sold = 0 AND damaged = 0 AND active = 1 AND country_id =
order country_sort_order asc, name asc
6
array
file /var/www/vhosts/numones.com/httpdocs/app/pages/countries/countries.php
line 12
args
array
0 /var/www/vhosts/numones.com/httpdocs/app/pages/countries/_countries-stamps.php
function include
7
array
file /var/www/vhosts/numones.com/httpdocs/_core_2.4.2/libraries/core_library.php
line 136
args
array
0 /var/www/vhosts/numones.com/httpdocs/app/pages/countries/countries.php
function include
8
array
file /var/www/vhosts/numones.com/httpdocs/_core_2.4.2/core.php
line 87
function route_url
args
array
0 countries/adenkathiri-state/stamps/
9
array
file /var/www/vhosts/numones.com/httpdocs/index.php
line 5
args
array
0 /var/www/vhosts/numones.com/httpdocs/_core_2.4.2/core.php
function require
Exceptionprevious NULL