• on lines 982 and 987 of functions.php, PHP will send a notice if $i is larger than the number of elements in the $words array.

    PHP Notice: Undefined offset: 100 in /wp-content/plugins/schema/includes/misc-functions.php

    I think this could be resolved by adjusting line 981 from

    while(1){

    to

    while(isset($words[$i])){

    this would only execute the loop when a new word is available to be appended to $output

  • The topic ‘undefined offset in $words[$i]’ is closed to new replies.