So even with the above “fix” I still get the error.
Warning: Invalid argument supplied for foreach() in [site]/wp-content/plugins/google-maps-builder/public/class-wordpress-google-maps.php on line 537
public function check_for_multiple_google_maps_api_calls() {
global $wp_scripts;
$multiple_google_maps_api = false;
if ( ! isset( $wp_scripts->registered ) ) {
return false;
}
//loop through registered scripts
foreach ( $wp_scripts->registered as $registered_script ) {
Would appreciate some help, or at least a time frame of when a fix will be available. I can’t run a site with a horrid looking error message on it.
Thanks for any help.
Thread Starter
Nashy
(@nashy)
I changed it to another one. I have just changed it back to the modified Kubrick one. Happy with that one now.
Thread Starter
Nashy
(@nashy)
i have a new theme with the same prob… 🙁