A PHP Error was encountered

Severity: Notice

Message: Undefined index: api

Filename: controllers/products.php

Line Number: 415

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: controllers/products.php

Line Number: 440