• Resolved ZewaLogi

    (@amazinghulk)


    Hi,

    I just checked my debug.log and see that below mentioned message appears often:

    PHP Notice: Undefined offset: 0 in …./public_html/wp-content/plugins/easy-table-of-contents/easy-table-of-contents.php on line 614

    I don’t experience any issues with a plugin but interested in this notice and is there a fix for it?

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

    (@shazahm1hotmailcom)

    After reviewing the code, it does seem like it is possible to generate this notice if the page does not have any headings which need in-page anchors inserted. I’ll add a note to add a secondary check before attempting to access the variable, which will prevent the notice. It’ll be in the next maintenance update when released. For now, the notice is harmless and can be ignored.

    Matija

    (@kasareviews)

    Ok, thanks for your reply and update on this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Notice: Undefined offset’ is closed to new replies.