• Resolved timjh

    (@timjh)


    I get

    PHP Notice Undefined offset: 1 in /var/www/sib2/wp-content/plugins/os-datahub-maps/include/osmap-shortcode.php on line 131

    when working with a markerfile that has markers with an empty description field. (WordPress 5.5.3 with PHP 7.4.3)

    I suggest $result[2] = $split[1] ?? '';
    rather than $result[2] = ( $split[1] ? : '' );

    I hope I’m being helpful rather than annoying! It’s still a great plugin.

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

The topic ‘PHP Notice: Undefined offset’ is closed to new replies.