• There is a wrong use of ob_clean() function in line 423 of the wp-google-map-plugin.php file. Instead of ob_clean() there should be ob_end_clean() used. The first one doesn’t destroy output buffer, so for example if a theme also uses output buffering, it brakes ob stack. Also, if the function ends earlier (return in lines 415 and 418), the same error happens. It’s a common mistake.

    Thanks.

    https://wordpress.org/plugins/wp-google-map-plugin/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shortcode function breaks ob stack’ is closed to new replies.