Severity: Warning
Message: A non-numeric value encountered
Filename: models/Posting_model.php
Line Number: 440
Backtrace:
File: /usr/share/nginx/html/website/application/models/Posting_model.php
Line: 440
Function: _error_handler
File: /usr/share/nginx/html/website/application/models/Posting_model.php
Line: 433
Function: calculateRealOffset
File: /usr/share/nginx/html/website/application/models/Posting_model.php
Line: 257
Function: paginate
File: /usr/share/nginx/html/website/application/controllers/Halaman.php
Line: 66
Function: getPostingByCategory
File: /usr/share/nginx/html/website/index.php
Line: 315
Function: require_once
Severity: Warning
Message: pg_query(): Query failed: ERROR: OFFSET must not be negative
Filename: postgre/postgre_driver.php
Line Number: 242
Backtrace:
File: /usr/share/nginx/html/website/application/models/Posting_model.php
Line: 259
Function: get
File: /usr/share/nginx/html/website/application/controllers/Halaman.php
Line: 66
Function: getPostingByCategory
File: /usr/share/nginx/html/website/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /usr/share/nginx/html/website/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 570
Backtrace:
File: /usr/share/nginx/html/website/application/models/Posting_model.php
Line: 259
Function: get
File: /usr/share/nginx/html/website/application/controllers/Halaman.php
Line: 66
Function: getPostingByCategory
File: /usr/share/nginx/html/website/index.php
Line: 315
Function: require_once
Error Number:
ERROR: OFFSET must not be negative
SELECT *, "posting"."id" "idPosting" FROM "posting" JOIN "category" ON "category"."id" = "posting". "id_category" WHERE "posting"."is_active" = 'Y' AND "category"."slug" = 'pengumuman' ORDER BY "posting"."id" DESC LIMIT 12 OFFSET -12
Filename: models/Posting_model.php
Line Number: 259