Hello! How can we help you?
Reasoned for 14 seconds
Yeh error is liye aata hai kyunki aapka $imagePaths
variable string ke tor par aa raha hai, jab ke array_diff()
ko array chahiye hota hai. Agar aapke Product model me casting properly set na ho ya phir koi update ke process me JSON string save ho jati hai, toh aapko ensure karna hoga ke operation se pehle $imagePaths
ek array ho.
$imagePaths
Is an Array Before Using array_diff()
Aap apne update controller me removed images handle karne se pehle is check ko add kar sakte hain:
Be the first to know. Subscribe today and unlock exclusive deals!
Free support line!
Orders Support!
Working Days / Hours!