RSS bug with 1.6a

Hi!

When using printRSSLink with 1.6a, there's this error throwing:

{2106115:Tue, 03 Aug 2021 23:42:30 GMT} Zenphoto v1.6a
EXCEPTION (0) : Call to undefined function getMimeString() in xxxx/htdocs/zp-core/zp-extensions/rss.php à la ligne 681

Function still exists in documentation 1.5 https://docs.zenphoto.org/1.5.x/function-getMimeString.html
in Package: core\libraries\lib-mimetypes
Located at lib-MimeTypes.php

but not anymore in 1.6a... Is it a bug?

Tags:

Comments

  • For info, replacing it by getType function from new class mimeTypes did the trick ;-)

  • acrylian Administrator, Developer
    edited August 4

    Yes, thanks, we forgot to update that and also to add it to the deprecated functions plugins to cover it for possible third party usages… I was sure I did though…

Sign In or Register to comment.