SP Simple Portfolio: 0 Imagecopyresampled - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

SP Simple Portfolio: 0 Imagecopyresampled

Matt

Matt

Extension 11 months ago

When creating a new item in SP Simple Portfolio, if you use a webp image it throws an error on save:

0 imagecopyresampled(): Argument #2 ($src_image) must be of type GdImage, null given

It does seem to save changes though.

It also seems to cause a problem (potentially) if you try to edit an item using PageBuilder from the list view. It just opens a blank page. But I haven't worked out if it's due to having any webp images set in the main and/or thumbnail image blocks or if it's another issue altogether.

I'm starting to suspect that there's an underlying issue where after you edit using PB the first time and save everything, if you go back to re-open it to make changes (using the Edit with SP PageBuilder button in the list view), it white pages. Error reporting and debug aren't logging anything for me when it fails.

0
4 Answers
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 11 months ago #173540

Hello Matt,

Apolozy for the inconvenience. This issue is caused by using a WebP-formatted image. Please install the build provided in the hidden content section; it should resolve the problem.

0
Matt
Matt
Accepted Answer
11 months ago #173558

Thanks! That fixed the webp problem.

The other problem still exists though. If you create an item, save it, then Edit with SPPageBuilder, add content, save it, then go back to the portfolio list view and try to edit that same item with PB again, it gives you a white page.

Here's a screen recording: https://www.awesomescreenshot.com/video/33235644?key=5021af8c06e872f7bf25710edaf32903

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 11 months ago #173564

Hi there!

Sorry for your experience.

Would you please give me your admin access to check the issue for you? Kindly, keep a full site backup before sharing the credentials.

Best Regards

0
Matt
Matt
Accepted Answer
11 months ago #173566
Here you go
0