Problems, need help? Have a tip or advice? Post it here.
4 posts Page 1 of 1
Hi,

on a Couch 2.3 website with php 8.1.18 I got an fatal error in the tags
Code: Select all
Fatal error: Uncaught TypeError: Unsupported operand types: string + string in /foo/bar/couch/tags.php:1231 Stack trace: #0 /foo/bar/couch/parser/parser.php(467): KTags->add(Array, Object(KNode)) #1 /foo/bar/couch/parser/parser.php(446): KNode->get_HTML() #2 /foo/bar/couch/functions.php(171): KNode->get_HTML() #3 /foo/bar/couch/parser/parser.php(460): KFuncs->resolve_parameters(Array) #4 /foo/bar/couch/tags.php(1089): KNode->get_HTML() #5 /foo/bar/couch/parser/parser.php(467): KTags->k_if(NULL, Object(KNode)) #6 /foo/bar/couch/tags.php(3039): KNode->get_HTML() #7 /foo/bar/couch/parser/parser.php(467): KTags->pages(Array, Object(KNode)) #8 /foo/bar/couch/parser/parser.php(446): KNode->get_HTML() #9 /foo/bar/couch/parser/parser.php(966): KNode->get_HTML() #10 /foo/bar/couch/parser/parser.php(1000): KParser->get_HTML() #11 /foo/bar/couch/tags.php(605): KParser->get_cached_HTML('/var/www/virtua...') #12 /foo/bar/couch/parser/parser.php(467): KTags->embed(Array, Object(KNode)) #13 /foo/bar/couch/addons/tiny-html-minifier/TinyMinify.php(24): KNode->get_HTML() #14 /foo/bar/couch/parser/parser.php(482): TinyMinify::minify(Array, Object(KNode)) #15 /foo/bar/couch/parser/parser.php(446): KNode->get_HTML() #16 /foo/bar/couch/parser/parser.php(966): KNode->get_HTML() #17 /foo/bar/couch/cms.php(239): KParser->get_HTML() #18 /foo/bar/index.php(23): COUCH::invoke() #19 {main} thrown in /foo/bar/couch/tags.php on line 1231


As I know its only allowed to use int with Operants like + or -.

Cheers
Hi,

It appears 'tinyminify' (viewtopic.php?f=8&t=12431) is involved in the operation.
Could you please post this issue in the mentioned thread so that the authors of the addon may look into it?
Unfortunatley tinyminify crahs on certain inline svg, because it is based on https://github.com/jenstornell/tiny-html-minifier. :(
SimonWpt wrote: Unfortunatley tinyminify crahs on certain inline svg, because it is based on https://github.com/jenstornell/tiny-html-minifier. :(

If OP's error about inline SVG?
4 posts Page 1 of 1
cron