XoopsModules25x/publisher

Block Image Error

liomj opened this issue · 2 comments

liomj commented

Image is not showing in Block

examples column block extended
Error : TypeError: imagecreatetruecolor() expects parameter 2 to be int, float given

XOOPS Version XOOPS 2.5.11-Beta1
PHP Version 7.3.12
mySQL Version 5.7.28
liomj commented

Hi ihackcode the error seems gone from blocks since your last commits,

i re-download the the latest publisher, now the column extended block is not displaying after activating it

anyone having the same issue ?

It looks like it is because in_array() is set to also match the datatype.

I might change it to something like below or similar.
ihackcode@96544c3

PR #144 has this fix, but I might change it.