Christmas Sale | Flat 20% OFF on All Themes Package. Use Coupon Code GTXMAS20 Buy Now

WordPress Website Templates

Find Professional WordPress themes Easy and Simple to Setup

[Prayer Pro Theme] Error on header.php on line 127

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #34957


    After changing the images, the following errors are being thrown in the site header:

    /home/storage/b/59/81/pspsp2/public_html/wp-content/themes/prayer-pro/header.php on line 127
    ” title=”#slidecaption1″/>/home/storage/b/59/81/pspsp2/public_html/wp-content/themes/prayer-pro/header.php on line 127
    ” title=”#slidecaption2″/>/home/storage/b/59/81/pspsp2/public_html/wp-content/themes/prayer-pro/header.php on line 127
    ” title=”#slidecaption3″/>

    Could you please, show me the way to fix this error?

    Thanks, regards.


    Grace Support


    To solve this issue
    Go to the Appearance -> Theme Editor -> header.php

    Find the below code at line no. 127

    <img src=”<?php echo esc_url($sv[‘image_src’]); ?>” alt=”<?php echo esc_attr($sv[‘image_title’]);?>” title=”<?php echo ‘#slidecaption’.$n ; ?>”/>

    Change it with

    <img src=”<?php echo esc_url($sv[‘image_src’]); ?>”/>

    Please do this changes and let me know if it works.

    Grace Themes

    • This reply was modified 9 months, 2 weeks ago by Grace Support.

    Thanks for the tip!

    With the information sent it worked partially, as the texts were not displayed. So I kept the title and img tags and worked perfectly.

    ” title=”<?php echo ‘#slidecaption’.$n ; ?>”/>

    The error was in the “alt” tag.

    Thanks a lot for the help! God bless!

    • This reply was modified 9 months, 2 weeks ago by Diogo. Reason: the code was incomplete in my copy/paste
    Grace Support

    You are most welcome.!!

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