XoopsModules25x / publisher

Publishing module for XOOPS for static/HTML content and articles stored and provided in a hierarchical manner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Block Image Error

liomj opened this issue · comments

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

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.