Invalid Arg Error message on line 193
-
Getting an invalid arg foreach() error on line 193
google-maps-builder/public/class-wordpress-google-maps-engine.phpOtherwise everything works as advertised.
I’m a little concerned with all the compatibility issues listed here as I’m using WooCommerce AND Contact7!I have adjusted the ‘Menu_Position’ in the settings to several different values and tried it with and without a Google Places API key.
Error in this class. Don’t see the argument here so not sure what gives. Maybe see if I can create a new map with a different shortcode and see if that fixes this bug.
class Google_Maps_Builder_Engine { /** * Instance of this class. * * @since 1.0.0 * * @var object */ protected static $instance = null; public function __construct() { /* * Call $plugin_slug from public plugin class. */ $plugin = Google_Maps_Builder::get_instance(); $this->plugin_slug = $plugin->get_plugin_slug(); // Filter to automatically add maps to post type content add_filter( 'the_content', array( $this, 'the_content' ), 2 ); //add shortcode support add_shortcode( 'google_maps', array( $this, 'google_maps_shortcode' ) ); }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Invalid Arg Error message on line 193’ is closed to new replies.