Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Efficacy

    (@efficacy)

    pls i upgraded wp to 4.2.2 and this warning appear at the top of my homepage only

    “Warning: substr() expects parameter 3 to be long, string given in /home/xxx/public_html/xxx/wp-content/themes/lifeline/framework/helpers/shortcodes.php on line 2575”

    and dis is what i have in line 2574,2575,2576, 2577 of shortcodes.php

    <h4>‘.get_the_title().’</h4>
    <p>’.substr( get_the_content(), 0, $limit ).'</p>
    </div>
    </div>

    pls how can i remove it pls help asap
    appreciates your quick responce

    Efficacy

    (@efficacy)

    pls i upgraded wp to 4.2.2 and this warning appear at the top of my homepage only

    “Warning: substr() expects parameter 3 to be long, string given in /home/xxx/public_html/xxx/wp-content/themes/lifeline/framework/helpers/shortcodes.php on line 2575”

    and dis is what i have in line 2574,2575,2576, 2577 of shortcodes.php

    <h4>‘.get_the_title().’</h4>
    <p>’.substr( get_the_content(), 0, $limit ).'</p>
    </div>
    </div>

    pls how can i remove it pls help asap
    appreciates your quick responce

Viewing 2 replies - 1 through 2 (of 2 total)