Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • hotlou

    (@hotlou)

    For DejaA and anyone else still having upload errors, yes the fix by aucor was applied in v1.5.

    But I was having a similar issue that cascaded.

    Along with what seemed to be a “100%” progress bar appearing, plus a wait, plus a “unknown error occurred”, the image seemed to appear in the media files anyway.

    But when I tried to reference the image by ID in other plugins, it was using the wrong sized file.

    After a few more uploads, an error did appear for me:

    Notice: Undefined index: size in /base/data/home/apps/s~ssg-wordpress-site/wpfromstarterproject.380039823079106783/wordpress/wp-content/plugins/google-app-engine/modules/uploads.php on line 398

    So I opened the modules/uploads.php file and found this on line 398:

    if ( ! is_null( $options['size'] ) ) {

    Since it appears that the code within that flow control isn’t integral to the execution of the upload AND it sure seems like ‘size’ should be defined AND not wanting to debug it myself, I simply made this change to just avoid the error:

    if ( 0 && ! is_null( $options['size'] ) ) { \\ added hack to avoid useless error

    And voila, fixed! Upload success (and cascading errors fixed)!

    Maybe someone smarter can provide a better fix, a reason for the bug, and perhaps even submit it to the repo.

    All in all, I’m sure some of you will be happy to learn that — in this case — size doesn’t matter ??

    I disabled all facebook plugins to try to make it work, but still got the “Your Facebook comments would normally…” error.

    Here’s the page https://www.ultimatepagehq.com/2011/03/01/hello-world/

Viewing 2 replies - 1 through 2 (of 2 total)