On some installs the following notice is echoed before PhoneGap build zip export, leading to an invalid zip file that can't be used in PhoneGap Build:
Notice: ob_end_clean(): failed to delete buffer. No buffer to delete in wp-appkit/lib/apps/build.php on line 151
We should indeed check if the buffer contains something before trying to clean it. Something like:
if (ob_get_length()) ob_end_clean();
On some installs the following notice is echoed before PhoneGap build zip export, leading to an invalid zip file that can't be used in PhoneGap Build: Notice: ob_end_clean(): failed to delete buffer. No buffer to delete in wp-appkit/lib/apps/build.php on line 151
We should indeed check if the buffer contains something before trying to clean it. Something like:
if (ob_get_length()) ob_end_clean();