Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter rychu90

    (@rychu90)

    Also please remove whitespace before first <? tag.
    It gives me header send warning.
    Thanks ??

    Rychu

    Plugin Author Deligence Technologies

    (@deligence)

    Dear Rychu,

    Thanks for your messages. We’ll look into this and then will update you shortly.

    Regards,
    Sanjay Kumar
    Deligence Technologies

    Plugin Author Deligence Technologies

    (@deligence)

    Dear Rychu,

    We have looked into it and come to know that this issue is due to PHP version. I believe you are using an old version of PHP (less than or equal to 5.2). Please confirm.

    Regards,
    Sanjay Kumar

    Plugin Author Deligence Technologies

    (@deligence)

    Sorry for the wrong information. It was for a different issue.

    We have checked and we weren’t able to reproduce this issue. Could you please provide me your site URL so that we can look into it?

    Regards,
    Sanjay Kumar

    I had the same thing, I think it is about this line of code:
    document.getElementById("date_"+id[1]).innerHTML=dnt;
    with the error:

    Uncaught TypeError: Cannot set property ‘innerHTML’ of null

    The problem is that the element does not exist since there is no date to be shown, but the script still wants to write to the element. I solved this issue by first checking if the date option is set.

    <?php if($date==1){?>
        document.getElementById("date_"+id[1]).innerHTML=dnt;
    <?php }?>


    This seems to fix the problem.

    edit:
    Or this could be another problem now I look at it again, anyway this was also a bug.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Errors in chrome console’ is closed to new replies.