To make image accordian required while creating products
Product not showing in shop
Bagisto API response Formatting
email for reset password issue
You are giving objects to the function and the function you are using is the array function.
And there is no Bagisto here. This is a core function of PHP.