Jump to content
  • Gallery - Uploading webp images crash the album


    When uploading images to a new gallery in the webp format the album crashes.

    Could contain: Page, Text, Chart, Plot

    The files can't be uploaded as the submission ends in a 503.

    Could contain: Text, Number, Symbol

    System Log
     

    TypeError: IPS\File::get(): Argument #2 ($url) must be of type IPS\Http\Url|string, null given, called in /home/jimiwikm/public_html/static/templates/gallery_front_browse.php on line 6576 and defined in /home/jimiwikm/public_html/system/File/File.php:643
    Stack trace:
    #0 /home/jimiwikm/public_html/static/templates/gallery_front_browse.php(6576): IPS\File::get()
    #1 /home/jimiwikm/public_html/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_gallery_front_browse->tableRowsThumbs()
    #2 /home/jimiwikm/public_html/static/templates/gallery_front_browse.php(3999): IPS\Theme\SandboxedTemplate->__call()
    #3 /home/jimiwikm/public_html/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_gallery_front_browse->imageTable()
    #4 /home/jimiwikm/public_html/system/Helpers/Table/Table.php(606): IPS\Theme\SandboxedTemplate->__call()
    #5 /home/jimiwikm/public_html/applications/gallery/modules/front/gallery/browse.php(527): IPS\Helpers\Table\Table->__toString()
    #6 /home/jimiwikm/public_html/applications/gallery/modules/front/gallery/browse.php(178): IPS\gallery\modules\front\gallery\browse->_album()
    #7 /home/jimiwikm/public_html/system/Dispatcher/Controller.php(139): IPS\gallery\modules\front\gallery\browse->manage()
    #8 /home/jimiwikm/public_html/system/Content/Controller.php(122): IPS\Dispatcher\Controller->execute()
    #9 /home/jimiwikm/public_html/applications/gallery/modules/front/gallery/browse.php(81): IPS\Content\Controller->execute()
    #10 /home/jimiwikm/public_html/system/Dispatcher/Dispatcher.php(169): IPS\gallery\modules\front\gallery\browse->execute()
    #11 /home/jimiwikm/public_html/index.php(16): IPS\Dispatcher->run()
    #12 {main}

    Backtrace

    #0 /home/jimiwikm/public_html/system/Theme/SandboxedTemplate.php(78): IPS\Log::log()
    #1 /home/jimiwikm/public_html/static/templates/gallery_front_browse.php(3999): IPS\Theme\SandboxedTemplate->__call()
    #2 /home/jimiwikm/public_html/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_gallery_front_browse->imageTable()
    #3 /home/jimiwikm/public_html/system/Helpers/Table/Table.php(606): IPS\Theme\SandboxedTemplate->__call()
    #4 /home/jimiwikm/public_html/applications/gallery/modules/front/gallery/browse.php(527): IPS\Helpers\Table\Table->__toString()
    #5 /home/jimiwikm/public_html/applications/gallery/modules/front/gallery/browse.php(178): IPS\gallery\modules\front\gallery\browse->_album()
    #6 /home/jimiwikm/public_html/system/Dispatcher/Controller.php(139): IPS\gallery\modules\front\gallery\browse->manage()
    #7 /home/jimiwikm/public_html/system/Content/Controller.php(122): IPS\Dispatcher\Controller->execute()
    #8 /home/jimiwikm/public_html/applications/gallery/modules/front/gallery/browse.php(81): IPS\Content\Controller->execute()
    #9 /home/jimiwikm/public_html/system/Dispatcher/Dispatcher.php(169): IPS\gallery\modules\front\gallery\browse->execute()
    #10 /home/jimiwikm/public_html/index.php(16): IPS\Dispatcher->run()
    #11 {main}

     

    Uploading png and jpg works fine.

     

     


    User Feedback

    Recommended Comments

    Jimi Wikman

    Posted

    I am using AWS and I can see the files are uploaded properly.

    Could contain: Page, Text, File

    Also, it takes a very long time to save the images for some reason...

    Jimi Wikman

    Posted

    Edit the image after uploading a png and replacing it with a webp works just fine.

    It takes a while, but it works 🙂

    Esther E.

    Posted

    Is this still an issue on the latest beta?


×
×
  • Create New...