A PHP Error was encountered

Severity: Notice

Message: Undefined index: api

Filename: controllers/products.php

Line Number: 314

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: controllers/products.php

Line Number: 339