Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #273605

    Hi Guys,

    I am getting the following warning on each post of my site, sometimes it shows only once and sometimes it repeats the message 5 times one below another. Please help me fix it :) Thanks in advance

    I remember Hostgator saying something about updating their PHP version, so I don’t know if this could have affected..

    This is the message

    : Creating default object from empty value in
    /home3/dflasz/public_html/wp-content/themes/angular/includes/helper-templates.php
    on line
    1226

    #273615

    Hi!

    Try adding this line to the theme functions.php:

    error_reporting(0);
    

    Regards,
    Josue

    #274064

    Hi Josue,

    Thank you for getting back to me, I am not a developer :( can you explain a little more where do I add this?
    is it inside the theme editor —> open functions.php and placing : error_reporting(0); anywhere on the code?

    Thank you in advance!

    Best,

    Denise

    #274075

    Hi Denise!

    Put it after the <?php around line 2-3:

    Best regards,
    Josue

    #274237

    Awesome!! it worked :)

    Thanks, so much!

    Best,

    Denise

    #274241

    You are welcome, always glad to help :)

    Regards,
    Josue

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Warning notification on posts’ is closed to new replies.