Severity: Warning
Message: Missing argument 2 for Shop::show_catalog(), called in /usr/home/voron/app/application/controllers/Shop.php on line 224 and defined
Filename: controllers/Shop.php
Line Number: 1435
Backtrace:
File: /usr/home/voron/app/application/controllers/Shop.php
Line: 1435
Function: _error_handler
File: /usr/home/voron/app/application/controllers/Shop.php
Line: 224
Function: show_catalog
File: /usr/www/users/voron/index.php
Line: 315
Function: require_once
Severity: Notice
Message: Undefined variable: idg
Filename: controllers/Shop.php
Line Number: 1441
Backtrace:
File: /usr/home/voron/app/application/controllers/Shop.php
Line: 1441
Function: _error_handler
File: /usr/home/voron/app/application/controllers/Shop.php
Line: 224
Function: show_catalog
File: /usr/www/users/voron/index.php
Line: 315
Function: require_once
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/Shop.php
Line Number: 1445
Backtrace:
File: /usr/home/voron/app/application/controllers/Shop.php
Line: 1445
Function: _error_handler
File: /usr/home/voron/app/application/controllers/Shop.php
Line: 224
Function: show_catalog
File: /usr/www/users/voron/index.php
Line: 315
Function: require_once
Severity: Notice
Message: Undefined variable: idg
Filename: controllers/Shop.php
Line Number: 1449
Backtrace:
File: /usr/home/voron/app/application/controllers/Shop.php
Line: 1449
Function: _error_handler
File: /usr/home/voron/app/application/controllers/Shop.php
Line: 224
Function: show_catalog
File: /usr/www/users/voron/index.php
Line: 315
Function: require_once
Severity: Notice
Message: Undefined variable: idg
Filename: controllers/Shop.php
Line Number: 1452
Backtrace:
File: /usr/home/voron/app/application/controllers/Shop.php
Line: 1452
Function: _error_handler
File: /usr/home/voron/app/application/controllers/Shop.php
Line: 224
Function: show_catalog
File: /usr/www/users/voron/index.php
Line: 315
Function: require_once
Severity: Warning
Message: pg_query(): Query failed: ERROR: syntax error at or near "ORDER" LINE 1: ...dp LEFT JOIN typraw ON idtr = id_tr WHERE idtr = ORDER BY o... ^
Filename: postgre/postgre_driver.php
Line Number: 242
Backtrace:
File: /usr/home/voron/app/application/models/Shop_model.php
Line: 1802
Function: query
File: /usr/home/voron/app/application/helpers/site_helper.php
Line: 2096
Function: get_dyn_par
File: /usr/home/voron/app/application/controllers/Shop.php
Line: 1452
Function: create_filtrs
File: /usr/home/voron/app/application/controllers/Shop.php
Line: 224
Function: show_catalog
File: /usr/www/users/voron/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /usr/home/voron/app/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 564
Backtrace:
File: /usr/home/voron/app/application/models/Shop_model.php
Line: 1802
Function: query
File: /usr/home/voron/app/application/helpers/site_helper.php
Line: 2096
Function: get_dyn_par
File: /usr/home/voron/app/application/controllers/Shop.php
Line: 1452
Function: create_filtrs
File: /usr/home/voron/app/application/controllers/Shop.php
Line: 224
Function: show_catalog
File: /usr/www/users/voron/index.php
Line: 315
Function: require_once
Error Number:
ERROR: syntax error at or near "ORDER" LINE 1: ...dp LEFT JOIN typraw ON idtr = id_tr WHERE idtr = ORDER BY o... ^
SELECT iddp, CASE WHEN dp_name_ua <> '' THEN dp_name_ua ELSE dp_name END AS dp_name, type, id_pargr FROM tr_dp LEFT JOIN dynpar ON iddp = id_dp LEFT JOIN typraw ON idtr = id_tr WHERE idtr = ORDER BY orderby ASC, dp_name ASC;
Filename: models/Shop_model.php
Line Number: 1802