PHP warning

Illegal string offset 'addMap'

/home/perfautosoundmob1/mobile.performance-auto-sound-local.com/wp-content/plugins/mygeopositioncom-geotags-geometatags/mygeopositioncom-geotags-geometatags.php(605)

593 /**
594  * Return plugin options.
595  *
596  */
597 function mygpGeotagsGeoMetatags_getOption($option, $postId = '') {
598     
599     global $mygpGeotagsGeoMetatags_key;
600     
601     if ($postId != '') {
602     
603         $data = get_post_meta($postId, $mygpGeotagsGeoMetatags_key, true);
604         
605         if ($data[$option] != '') {
606             
607             return $data[$option];
608             
609         }
610         
611     }
612     
613     $value = get_option('mygpGeotagsGeoMetatags_' . $option);
614     
615     if (isset($value['text_string'])) {
616         
617         if (is_bool($value['text_string']) && $value['text_string']) {

Stack Trace

#0
+
 /home/perfautosoundmob1/mobile.performance-auto-sound-local.com/wp-content/plugins/mygeopositioncom-geotags-geometatags/mygeopositioncom-geotags-geometatags.php(520): mygpGeotagsGeoMetatags_getOption("addMap", 336)
515     global $wp_query, $mygpGeotagsGeoMetatags_key;
516     
517     $postId = $wp_query->post->ID;
518     $shortcode = '[mygp_map]';
519     
520     if (mygpGeotagsGeoMetatags_getOption("addMap", $postId) == 'false') {
521         return str_replace($shortcode, "", $content);
522     }
523 
524     $html = mygpGeotagsGeoMetatags_getMap();
525     if ($html == '') {
#2
+
 /home/perfautosoundmob1/mobile.performance-auto-sound-local.com/wp-includes/class-wp-hook.php(286): call_user_func_array("mygpGeotagsGeoMetatags_addMap", array(""))
281 
282                 // Avoid the array_slice if possible.
283                 if ( $the_['accepted_args'] == 0 ) {
284                     $value = call_user_func_array( $the_['function'], array() );
285                 } elseif ( $the_['accepted_args'] >= $num_args ) {
286                     $value = call_user_func_array( $the_['function'], $args );
287                 } else {
288                     $value = call_user_func_array( $the_['function'], array_slice( $args, 0, (int)$the_['accepted_args'] ) );
289                 }
290             }
291         } while ( false !== next( $this->iterations[ $nesting_level ] ) );
#3
+
 /home/perfautosoundmob1/mobile.performance-auto-sound-local.com/wp-includes/plugin.php(203): WP_Hook->apply_filters("", array(""))
198         $args = func_get_args();
199 
200     // don't pass the tag name to WP_Hook
201     array_shift( $args );
202 
203     $filtered = $wp_filter[ $tag ]->apply_filters( $value, $args );
204 
205     array_pop( $wp_current_filter );
206 
207     return $filtered;
208 }
2019-06-26 21:50:31 Apache Yii Framework/1.1.13