A PHP Error was encountered

Severity: Warning

Message: mysqli::query(): (22032/3141): Invalid JSON text in argument 1 to function json_extract: "The document is empty." at position 0.

Filename: mysqli/mysqli_driver.php

Line Number: 305

Backtrace:

File: /home/arcosteel/public_html/application/models/Core_model.php
Line: 232
Function: get

File: /home/arcosteel/public_html/application/helpers/general_helper.php
Line: 71
Function: slug

File: /home/arcosteel/public_html/application/helpers/general_helper.php
Line: 111
Function: slug_func

File: /home/arcosteel/public_html/application/core/Public_Controller.php
Line: 15
Function: current_url_array

File: /home/arcosteel/public_html/application/controllers/front/Sections.php
Line: 11
Function: __construct

File: /home/arcosteel/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/arcosteel/public_html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/arcosteel/public_html/application/models/Core_model.php
Line: 232
Function: get

File: /home/arcosteel/public_html/application/helpers/general_helper.php
Line: 71
Function: slug

File: /home/arcosteel/public_html/application/helpers/general_helper.php
Line: 111
Function: slug_func

File: /home/arcosteel/public_html/application/core/Public_Controller.php
Line: 15
Function: current_url_array

File: /home/arcosteel/public_html/application/controllers/front/Sections.php
Line: 11
Function: __construct

File: /home/arcosteel/public_html/index.php
Line: 315
Function: require_once

Database Error

A Database Error Occurred

Error Number: 3141

Invalid JSON text in argument 1 to function json_extract: "The document is empty." at position 0.

SELECT json_unquote(json_extract(slug, '$.en')) slug, json_unquote(json_extract(name, '$.en')) name FROM `media_center` WHERE json_unquote(json_extract(slug,'$.ar')) = 'amp'

Filename: models/Core_model.php

Line Number: 232