Hello, I am noticing some PHP errors on version 1.1.5
In the file wp-content/plugins/marker-io/marker-io.php
, the callback is trying to access array keys that might or might not exist. I am seeing errors on lines 60,61,64,65,68,69,73, and 77.
I looked at the file and thing you should check if the get_option
on line 57 and return early if empty. Then for the lines I mentioned above, you should wrap the array keys inside an isset
or is_empty
like so:
$destination_id = ! empty( $options['destination_id'] ) ? $options['destination_id'] : 0;
or $destination_id = $options['destination_id'] ?? 0;
I am guessing that this is happened on my staging server becuase I do not have any options set in the wp-admin which causes the get_option
to return an empty array or false.