• Resolved Lineone

    (@lineone)


    If I inspect the page with a slider, I notice the following notice in the HTML:

    <div class="wpsisac-slide-wrap"><img src="<br />
    <b>Notice</b>:  Undefined variable: slider_img in <b>. . . /wp-content/plugins/wp-slick-slider-and-image-carousel/templates/design-1.php</b> on line <b>18</b><br />
    " alt="Slide 3"></div>

    Line 18 design-1.php

    <img <?php if($lazyload) { ?>data-lazy="<?php echo esc_url($slider_img); ?>" <?php } ?> src="<?php if(empty($lazyload)) { echo esc_url($slider_img); } ?>" alt="<?php the_title(); ?>" />

    • This topic was modified 4 years, 4 months ago by Lineone.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Undefined variable: slider_img in design-1.php’ is closed to new replies.