A PHP Error was encountered

Severity: 8192

Message: filter_var(): Passing null to parameter #3 ($options) of type array|int is deprecated

Filename: core/Input.php

Line Number: 576

Backtrace:

File: /home/ofpybvsy/public_html/application/controllers/Sanpham.php
Line: 6
Function: __construct

File: /home/ofpybvsy/public_html/index.php
Line: 274
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Trying to access array offset on value of type null

Filename: models/Siteproductmodel.php

Line Number: 126

Backtrace:

File: /home/ofpybvsy/public_html/application/models/Siteproductmodel.php
Line: 126
Function: _exception_handler

File: /home/ofpybvsy/public_html/application/controllers/Sanpham.php
Line: 111
Function: getidbyslug

File: /home/ofpybvsy/public_html/index.php
Line: 274
Function: require_once