Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1038066

    Hi I am getting the following on the front page above LayerSlider

    Warning: Division by zero in /homepages/17/d720896686/htdocs/clickandbuilds/AquaSuppliesLtdCleaningSuppliesDorset/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/av-helper-slideshow.php on line 97

    Thanks

    #1038610

    Hey fanlokbun,

    Please add this code in /config-templatebuilder/avia-shortcodes/av-helper-slideshow.php on line 96

    
    if ($width == 0) { $width = 1; }
    

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1038640

    That’s done the trick thanks Victoria.
    I have changed it in Enfold do I need to add it to my Child Theme or is it something that will get corrected in the next update.
    Cheers

    #1040284

    Hi fanlokbun,

    I’m not sure it will be corrected, but it will definitely be lost on an update.

    I asked Kriesi.

    Best regards,
    Victoria

    • This reply was modified 6 years ago by Victoria.
    #1040332

    Hey!

    Thank you for reporting this.

    I had a look at your frontpage – you have an empty fullwidth easy slider (no images) before the layerslider – I think this causes the warning division by 0.

    Try to remove it.

    Nevertheless this is a bug and we will fix it. Hope ti will be in the next update.

    Best regards,
    Günter

    #1040371

    Thanks I’ve removed it.

    #1040581

    Hi,

    Thanks for the update and sorry for the problem. Please let us know if you should need any further help on the topic.

    Best regards,
    Rikard

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.