Severity: 8192
Message: Creation of dynamic property CI_URI::$config is deprecated
Filename: core/URI.php
Line Number: 102
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: 8192
Message: Creation of dynamic property CI_Router::$uri is deprecated
Filename: core/Router.php
Line Number: 128
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: 8192
Message: Creation of dynamic property Home::$benchmark is deprecated
Filename: core/Controller.php
Line Number: 83
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: 8192
Message: Creation of dynamic property Home::$hooks is deprecated
Filename: core/Controller.php
Line Number: 83
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: 8192
Message: Creation of dynamic property Home::$config is deprecated
Filename: core/Controller.php
Line Number: 83
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: 8192
Message: Creation of dynamic property Home::$log is deprecated
Filename: core/Controller.php
Line Number: 83
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: 8192
Message: Creation of dynamic property Home::$utf8 is deprecated
Filename: core/Controller.php
Line Number: 83
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: 8192
Message: Creation of dynamic property Home::$uri is deprecated
Filename: core/Controller.php
Line Number: 83
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: 8192
Message: Creation of dynamic property Home::$exceptions is deprecated
Filename: core/Controller.php
Line Number: 83
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: 8192
Message: Creation of dynamic property Home::$router is deprecated
Filename: core/Controller.php
Line Number: 83
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: 8192
Message: Creation of dynamic property Home::$output is deprecated
Filename: core/Controller.php
Line Number: 83
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: 8192
Message: Creation of dynamic property Home::$security is deprecated
Filename: core/Controller.php
Line Number: 83
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: 8192
Message: Creation of dynamic property Home::$input is deprecated
Filename: core/Controller.php
Line Number: 83
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: 8192
Message: Creation of dynamic property Home::$lang is deprecated
Filename: core/Controller.php
Line Number: 83
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: 8192
Message: Creation of dynamic property Home::$db is deprecated
Filename: core/Loader.php
Line Number: 397
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: 8192
Message: Creation of dynamic property CI_DB_mysqli_driver::$failover is deprecated
Filename: database/DB_driver.php
Line Number: 372
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: 8192
Message: Creation of dynamic property Home::$email is deprecated
Filename: core/Loader.php
Line Number: 1284
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent (sent from /www/wwwroot/tenderhelp.co/system/core/Exceptions.php on line 272)
Filename: Session/Session.php
Line Number: 303
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: Warning
Message: session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent (sent from /www/wwwroot/tenderhelp.co/system/core/Exceptions.php on line 272)
Filename: Session/Session.php
Line Number: 328
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent (sent from /www/wwwroot/tenderhelp.co/system/core/Exceptions.php on line 272)
Filename: Session/Session.php
Line Number: 355
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent (sent from /www/wwwroot/tenderhelp.co/system/core/Exceptions.php on line 272)
Filename: Session/Session.php
Line Number: 365
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent (sent from /www/wwwroot/tenderhelp.co/system/core/Exceptions.php on line 272)
Filename: Session/Session.php
Line Number: 366
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent (sent from /www/wwwroot/tenderhelp.co/system/core/Exceptions.php on line 272)
Filename: Session/Session.php
Line Number: 367
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent (sent from /www/wwwroot/tenderhelp.co/system/core/Exceptions.php on line 272)
Filename: Session/Session.php
Line Number: 368
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent (sent from /www/wwwroot/tenderhelp.co/system/core/Exceptions.php on line 272)
Filename: Session/Session.php
Line Number: 426
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: Warning
Message: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent (sent from /www/wwwroot/tenderhelp.co/system/core/Exceptions.php on line 272)
Filename: Session/Session.php
Line Number: 110
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: Warning
Message: session_start(): Session cannot be started after headers have already been sent (sent from /www/wwwroot/tenderhelp.co/system/core/Exceptions.php on line 272)
Filename: Session/Session.php
Line Number: 137
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: 8192
Message: Creation of dynamic property Home::$session is deprecated
Filename: core/Loader.php
Line Number: 1284
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: 8192
Message: Creation of dynamic property Home::$form_validation is deprecated
Filename: core/Loader.php
Line Number: 1284
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: 8192
Message: Creation of dynamic property Home::$pagination is deprecated
Filename: core/Loader.php
Line Number: 1284
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: 8192
Message: Creation of dynamic property Home::$zip is deprecated
Filename: core/Loader.php
Line Number: 1284
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: 8192
Message: Creation of dynamic property Home::$agent is deprecated
Filename: core/Loader.php
Line Number: 1284
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: 8192
Message: Creation of dynamic property Home::$Meta_model is deprecated
Filename: core/Loader.php
Line Number: 359
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: 8192
Message: Creation of dynamic property Home::$post_model is deprecated
Filename: core/Loader.php
Line Number: 359
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: 8192
Message: Creation of dynamic property Home::$comment_model is deprecated
Filename: core/Loader.php
Line Number: 359
Backtrace:
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /www/wwwroot/tenderhelp.co/system/core/Exceptions.php:272)
Filename: core/Common.php
Line Number: 571
Backtrace:
File: /www/wwwroot/tenderhelp.co/application/controllers/Home.php
Line: 112
Function: get
File: /www/wwwroot/tenderhelp.co/application/controllers/Home.php
Line: 127
Function: homepageData
File: /www/wwwroot/tenderhelp.co/index.php
Line: 161
Function: require_once
Error Number: 1146
Table 'tenderhelp_main.category' doesn't exist
SELECT c.id, c.category, c.img, COUNT(b.id) AS tender_count FROM `category` `c` LEFT JOIN (SELECT r.*, r.bid_number AS `bidNumber`, COALESCE(NULLIF(JSON_VALUE(r.web_data, '$.ministry_name'), 'null'), NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.buyer.ministry_state_name'), 'null'), 'NA') AS `ministryName`, COALESCE(NULLIF(JSON_VALUE(r.web_data, '$.department'), 'null'), NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.buyer.department_name'), 'null'), 'NA') AS `departmentName`, COALESCE(NULLIF(JSON_VALUE(r.web_data, '$.organisation'), 'null'), NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.buyer.organisation_name'), 'null'), 'NA') AS `organisationName`, COALESCE(NULLIF(JSON_VALUE(r.web_data, '$.office'), 'null'), NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.buyer.office_name'), 'null'), 'NA') AS `officeName`, COALESCE(NULLIF(JSON_VALUE(r.web_data, '$.total_quantity'), 'null'), NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.total_quantity'), 'null')) AS `totalQuantity`, COALESCE(NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.item_category'), 'null'), (SELECT GROUP_CONCAT(items.label SEPARATOR ', ') FROM JSON_TABLE(COALESCE(JSON_EXTRACT(r.web_data, '$.item_categories'), '[]'), '$[*]' COLUMNS(label VARCHAR(2048) PATH '$')) AS items), '') AS `itemCategory`, CONVERT_TZ(r.published_datetime, '+00:00', '+05:30') AS `bidOpenDateTime`, CONVERT_TZ(r.closing_datetime, '+00:00', '+05:30') AS `bidCloseDateTime`, COALESCE(NULLIF(JSON_VALUE(r.web_data, '$.pdf_url'), 'null'), CONCAT('https://bidplus.gem.gov.in/', CASE WHEN r.bid_number LIKE '%/R/%' THEN 'showradocument/' ELSE 'showbidDocument/' END, r.bid_id)) AS `pdflink`, COALESCE(NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.items[0].boq_document.source_url'), 'null'), '') AS `csvLinks`, '' AS `otherLinks`, '[]' AS `csvdata`, CASE WHEN REPLACE(TRIM(COALESCE( NULLIF(JSON_VALUE(r.web_data, '$.tenderhelp.tenderAmount'), 'null'), NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.estimated_bid_value.amount_inr'), 'null'), NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.estimated_bid_value.raw'), 'null'), '')), ',', '') REGEXP '^[0-9]+([.][0-9]{1,2})?$' THEN CAST(REPLACE(TRIM(COALESCE( NULLIF(JSON_VALUE(r.web_data, '$.tenderhelp.tenderAmount'), 'null'), NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.estimated_bid_value.amount_inr'), 'null'), NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.estimated_bid_value.raw'), 'null'), '')), ',', '') AS DECIMAL(20,2)) ELSE NULL END AS `tenderAmount`, CASE WHEN (REPLACE(TRIM(COALESCE(NULLIF(JSON_VALUE(r.web_data, '$.tenderhelp.emdAmount'), 'null'), '')), ',', '') REGEXP '^[0-9]+([.][0-9]{1,2})?$' AND CAST(REPLACE(NULLIF(JSON_VALUE(r.web_data, '$.tenderhelp.emdAmount'), 'null'),',','') AS DECIMAL(20,2)) >= 100) THEN REPLACE(NULLIF(JSON_VALUE(r.web_data, '$.tenderhelp.emdAmount'), 'null'),',','') WHEN (REPLACE(TRIM(COALESCE(NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.emd.amount'), 'null'), '')), ',', '') REGEXP '^[0-9]+([.][0-9]{1,2})?$' AND CAST(REPLACE(NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.emd.amount'), 'null'),',','') AS DECIMAL(20,2)) >= 100 AND (NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.emd.amount_raw'), 'null') IS NULL OR REPLACE(TRIM(NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.emd.amount_raw'), 'null')),',','') REGEXP '^[0-9]+([.][0-9]{1,2})?$')) THEN REPLACE(NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.emd.amount'), 'null'),',','') ELSE NULL END AS `emdAmount`, COALESCE(NULLIF(JSON_VALUE(r.web_data, '$.tenderhelp.epbgAmount'), 'null'), CONCAT(NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.epbg.percentage'), 'null'), '%')) AS `epbgAmount`, COALESCE(NULLIF(JSON_VALUE(r.web_data, '$.buyer_address'), 'null'), CONCAT_WS(', ', r.city, r.state)) AS `location`, COALESCE(NULLIF(JSON_VALUE(r.web_data, '$.boq_title'), 'null'), NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.boq_title'), 'null'), 'NA') AS `boqTitle`, COALESCE(NULLIF(JSON_VALUE(r.web_data, '$.bid_validity'), 'null'), NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.bid_offer_validity.raw'), 'null')) AS `bidOfferValidity`, COALESCE(CASE LOWER(NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.reverse_auction.enabled'), 'null')) WHEN 'true' THEN '1' WHEN '1' THEN '1' WHEN 'false' THEN '0' WHEN '0' THEN '0' ELSE NULL END, NULLIF(JSON_VALUE(r.web_data, '$.search_result.b_bid_to_ra[0]'), 'null')) AS `bidToRAEnabled`, COALESCE(NULLIF(JSON_VALUE(r.web_data, '$.bid_type'), 'null'), NULLIF(JSON_VALUE(r.web_data, '$.search_result.b_bid_type[0]'), 'null')) AS `typeOfBid`, CASE LOWER(NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.inspection_required'), 'null')) WHEN 'true' THEN '1' WHEN '1' THEN '1' WHEN 'false' THEN '0' WHEN '0' THEN '0' ELSE NULL END AS `inspectionRequired`, CASE WHEN LOWER(NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.emd.required'), 'null')) IN ('false', '0') THEN '0' WHEN (REPLACE(TRIM(COALESCE(NULLIF(JSON_VALUE(r.web_data, '$.tenderhelp.emdAmount'), 'null'), '')), ',', '') REGEXP '^[0-9]+([.][0-9]{1,2})?$' AND CAST(REPLACE(NULLIF(JSON_VALUE(r.web_data, '$.tenderhelp.emdAmount'), 'null'),',','') AS DECIMAL(20,2)) >= 100) OR (REPLACE(TRIM(COALESCE(NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.emd.amount'), 'null'), '')), ',', '') REGEXP '^[0-9]+([.][0-9]{1,2})?$' AND CAST(REPLACE(NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.emd.amount'), 'null'),',','') AS DECIMAL(20,2)) >= 100 AND (NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.emd.amount_raw'), 'null') IS NULL OR REPLACE(TRIM(NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.emd.amount_raw'), 'null')),',','') REGEXP '^[0-9]+([.][0-9]{1,2})?$')) THEN '1' ELSE '0' END AS `emdRequired`, CASE LOWER(NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.epbg.required'), 'null')) WHEN 'true' THEN '1' WHEN '1' THEN '1' WHEN 'false' THEN '0' WHEN '0' THEN '0' ELSE NULL END AS `epbgRequired`, NULLIF(JSON_VALUE(r.web_data, '$.creator'), 'null') AS `creator`, NULLIF(JSON_VALUE(r.web_data, '$.collected_date'), 'null') AS `date`, COALESCE(NULLIF(JSON_VALUE(r.web_data, '$.ministry_name'), 'null'), NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.buyer.ministry_state_name'), 'null')) AS `authority`, COALESCE(CAST(NULLIF(JSON_VALUE(r.web_data, '$.tenderhelp.category_id'), 'null') AS UNSIGNED), 0) AS `category_id`, CASE WHEN r.closing_datetime < UTC_TIMESTAMP() THEN 1 ELSE 0 END AS `archive`, CASE WHEN r.bid_number LIKE '%/R/%' THEN '1' ELSE '0' END AS `bra`, CASE WHEN r.bid_number LIKE '%/R/%' THEN r.bid_number ELSE NULL END AS `raNumber`, NULLIF(JSON_VALUE(r.web_data, '$.buyer_name'), 'null') AS `coName`, r.created_at AS `created_on`, JSON_QUERY(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.documents_required_from_seller') AS `documentRequiredFromSeller`, COALESCE(NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.item_category'), 'null'), NULLIF(JSON_VALUE(r.web_data, '$.item_categories[0]'), 'null')) AS `primaryProductCategory`, CASE WHEN NULLIF(JSON_VALUE(r.web_data, '$.bid_type'), 'null') = '1' THEN 'service' WHEN LOWER(COALESCE(NULLIF(JSON_VALUE(COALESCE(NULLIF(r.bid_data, 'null'), NULLIF(r.ra_data, 'null'), '{}'), '$.item_category'), 'null'), NULLIF(JSON_VALUE(r.web_data, '$.item_categories[0]'), 'null'), '')) LIKE '%work%' THEN 'work' ELSE 'product' END AS `type` FROM `bid_details` r) AS `b` ON b.category_id=c.id AND b.archive=0 AND (b.bra<>'1' OR b.bra IS NULL) WHERE `c`.`type` = 'product' GROUP BY `c`.`id`, `c`.`category`, `c`.`img` ORDER BY `tender_count` DESC
Filename: controllers/Home.php
Line Number: 112