ZenphotoCMS Forum
RSS bug with 1.6a - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: RSS bug with 1.6a (/thread-13627.html)



RSS bug with 1.6a - davidarnoult - 2021-08-03

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?




RSS bug with 1.6a - davidarnoult - 2021-08-04

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




RSS bug with 1.6a - acrylian - 2021-08-04

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…