WP on GAE Insert Image in Post: "An error occurred in the upload. Please try again later." <p>I've been banging my head against a wall on this one. I'm running Wordpress on AppEngine and have everything working fine (<a href="https://developers.google.com/appengine/articles/wordpress?hl=en" rel="nofollow">followed the GAE install instructions</a>) except I can't insert an image into a post. I've installed the GAE WP plugin and have the cloud storage set up properly (which I know because the upload actually works and I can see the uploads when I go to Media > Library in the left nav in WP.</p> <p>Here's the error's I have in the logs for wp-admin/async-upload.php:</p> <pre><code>W 2013-09-28 12:05:02.529 PHP Notice: Undefined variable: types in /base/data/home/apps/s~WPONGAE/wp.0000000000000000/wordpress/wp-includes/post.php on line 4385 W 2013-09-28 12:05:02.529 PHP Warning: array_keys() expects parameter 1 to be array, null given in /base/data/home/apps/s~WPONGAE/wp.0000000000000000/wordpress/wp-includes/post.php on line 4385 W 2013-09-28 12:05:02.529 PHP Warning: asort() expects parameter 1 to be array, null given in /base/data/home/apps/s~WPONGAE/wp.0000000000000000/wordpress/wp-includes/post.php on line 2231 W 2013-09-28 12:05:02.529 PHP Warning: Invalid argument supplied for foreach() in /base/data/home/apps/s~WPONGAE/wp.0000000000000000/wordpress/wp-includes/post.php on line 2232 W 2013-09-28 12:05:02.529 PHP Notice: Undefined variable: icon in /base/data/home/apps/s~WPONGAE/wp.0000000000000000/wordpress/wp-includes/post.php on line 4398 </code></pre> <p>And here's what I've got in the logs for wp-admin/admin-ajax.php:</p> <pre><code>W 2013-09-28 12:05:03.683 PHP Notice: Undefined variable: types in /base/data/home/apps/s~WPONGAE/wp.0000000000000000/wordpress/wp-includes/post.php on line 4385 W 2013-09-28 12:05:03.683 PHP Warning: array_keys() expects parameter 1 to be array, null given in /base/data/home/apps/s~WPONGAE/wp.0000000000000000/wordpress/wp-includes/post.php on line 4385 W 2013-09-28 12:05:03.683 PHP Warning: asort() expects parameter 1 to be array, null given in /base/data/home/apps/s~WPONGAE/wp.0000000000000000/wordpress/wp-includes/post.php on line 2231 W 2013-09-28 12:05:03.683 PHP Warning: Invalid argument supplied for foreach() in /base/data/home/apps/s~WPONGAE/wp.0000000000000000/wordpress/wp-includes/post.php on line 2232 W 2013-09-28 12:05:03.683 PHP Notice: Undefined variable: icon in /base/data/home/apps/s~WPONGAE/wp.0000000000000000/wordpress/wp-includes/post.php on line 4398 W 2013-09-28 12:05:03.745 PHP Notice: Undefined variable: types in /base/data/home/apps/s~WPONGAE/wp.0000000000000000/wordpress/wp-includes/post.php on line 4385 W 2013-09-28 12:05:03.745 PHP Warning: array_keys() expects parameter 1 to be array, null given in /base/data/home/apps/s~WPONGAE/wp.0000000000000000/wordpress/wp-includes/post.php on line 4385 W 2013-09-28 12:05:03.745 PHP Warning: asort() expects parameter 1 to be array, null given in /base/data/home/apps/s~WPONGAE/wp.0000000000000000/wordpress/wp-includes/post.php on line 2231 W 2013-09-28 12:05:03.745 PHP Warning: Invalid argument supplied for foreach() in /base/data/home/apps/s~WPONGAE/wp.0000000000000000/wordpress/wp-includes/post.php on line 2232 W 2013-09-28 12:05:03.745 PHP Notice: Undefined variable: icon in /base/data/home/apps/s~WPONGAE/wp.0000000000000000/wordpress/wp-includes/post.php on line 4398 W 2013-09-28 12:05:03.751 PHP Notice: Undefined variable: types in /base/data/home/apps/s~WPONGAE/wp.0000000000000000/wordpress/wp-includes/post.php on line 4385 W 2013-09-28 12:05:03.751 PHP Warning: array_keys() expects parameter 1 to be array, null given in /base/data/home/apps/s~WPONGAE/wp.0000000000000000/wordpress/wp-includes/post.php on line 4385 W 2013-09-28 12:05:03.751 PHP Warning: asort() expects parameter 1 to be array, null given in /base/data/home/apps/s~WPONGAE/wp.0000000000000000/wordpress/wp-includes/post.php on line 2231 W 2013-09-28 12:05:03.751 PHP Warning: Invalid argument supplied for foreach() in /base/data/home/apps/s~WPONGAE/wp.0000000000000000/wordpress/wp-includes/post.php on line 2232 W 2013-09-28 12:05:03.751 PHP Notice: Undefined variable: icon in /base/data/home/apps/s~WPONGAE/wp.0000000000000000/wordpress/wp-includes/post.php on line 4398 W 2013-09-28 12:05:03.755 PHP Notice: Undefined variable: types in /base/data/home/apps/s~WPONGAE/wp.0000000000000000/wordpress/wp-includes/post.php on line 4385 W 2013-09-28 12:05:03.755 PHP Warning: array_keys() expects parameter 1 to be array, null given in /base/data/home/apps/s~WPONGAE/wp.0000000000000000/wordpress/wp-includes/post.php on line 4385 W 2013-09-28 12:05:03.756 PHP Warning: asort() expects parameter 1 to be array, null given in /base/data/home/apps/s~WPONGAE/wp.0000000000000000/wordpress/wp-includes/post.php on line 2231 W 2013-09-28 12:05:03.756 PHP Warning: Invalid argument supplied for foreach() in /base/data/home/apps/s~WPONGAE/wp.0000000000000000/wordpress/wp-includes/post.php on line 2232 W 2013-09-28 12:05:03.756 PHP Notice: Undefined variable: icon in /base/data/home/apps/s~WPONGAE/wp.0000000000000000/wordpress/wp-includes/post.php on line 4398 </code></pre> <p>What am I missing here? Thanks for any help.</p>