madeyourday / contao-rocksolid-slider

RockSolid Slider Contao Extension
http://rocksolidthemes.com/de/contao/plugins/responsive-slider
Other
9 stars 7 forks source link

Non-numeric value for gapSize in image slider #84

Closed rabauss closed 1 year ago

rabauss commented 1 year ago

We have an image slider which throws the error A non-numeric value encountered in the following line: https://github.com/madeyourday/contao-rocksolid-slider/blob/e32523c3fffabb6dab048202a7f0c4b984001b3c/src/Module/Slider.php#L368

I debugged that $this->arrData['rsts_gapSize'] is 32px - but I don't know where this setting is comming from. Can someone help? Is it a bug within the image slider config?

ausi commented 1 year ago

but I don't know where this setting is comming from

tl_module.rsts_gapSize or tl_content.rsts_gapSize depending on what element you are using.

rabauss commented 1 year ago

Okay thanks, don't know why I did not find the value in the database earlier. Maybe I just checked the tl_content Finally, I fixed the 32px in tl_module to 32 and the error is gone ☺️