Developer forum

Forum » Swift » Product slider error in Visual Editor

Product slider error in Visual Editor

Mikkel Hammer
Mikkel Hammer
Reply

Hi,

We have a live solution where our customer is experience a weird bug where the visual editor shows an error on product slider, and i'm having some trouble finding the reason.
We're not experiencing the same problem on our development environment.

The error is:


The problem is that GetLastActiveProducts returns an emptylist... Here below i'v just hardcoded a random product id to fix the error.