• Resolved jl9322

    (@jl9322)


    Getting the following fatal error when trying to add or edit pages or blogs.

    Fatal error: Uncaught exception ‘InvalidArgumentException’ with message ‘max_bytes_per_blob must be positive.’ in /base/data/home/runtimes/php/sdk/google/appengine/api/cloud_storage/CloudStorageTools.php:139

    I have done a fresh install with fresh tables on two different GAE applications. One works, and one does not. WP version 3.5.1 with exact same source uploaded and only the application name changed in app.yaml file. Same everything including same database and tables. The only difference between the two I could find is App Engine Release 1.8.8 is the one with the error, and the one running under 1.8.7 is fine.

    http://ww.wp.xz.cn/plugins/google-app-engine/

Viewing 2 replies - 1 through 2 (of 2 total)
  • From googling i found the reason for this issue is
    “This error occurs if the max file size is larger than can be stored in PHP’s integer size, so it gets converted to a float.”

    Try setting a upload_max_filesize in php.ini in your application directory.

    Thread Starter jl9322

    (@jl9322)

    Thanks Prasath! This works. Hopefully this saves others considerable time trying to figure out why this does not work with default set up.

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

The topic ‘Fatal error encounted’ is closed to new replies.