flatpress icon indicating copy to clipboard operation
flatpress copied to clipboard

Images throw error message

Open stippi64 opened this issue 2 years ago • 1 comments

Hi Arvid, i's me again, stippi. As announced I will contribute another issue with inserting images into a blog entry. I got this error message: Trying to access array offset on value of type bool in [...]plugin.bbcode.php on line 190 I fixed it changing the line from if ($img_size ['mime'] == 'image/jpeg') { to if ($img_size && $img_size ['mime'] == 'image/jpeg') {

I hope this is of any help to improve FP, as this is my favorite CMS.

Greetings stippi

stippi64 avatar Apr 18 '22 10:04 stippi64

Thank you very much for reporting. Does this happen with any image? Do you have th GD library enabled ("GD Support enabled" is shown in Admin area -> Maintain -> Show info about PHP)?

azett avatar May 01 '22 12:05 azett