"Call to a member function extension() on null" when replacing images in panel

Hi, my content editor of one of a project we’re working on encounters the following error when replacing images using the replace function from the context menu:

“Call to a member function extension() on null”


Screenshot 2021-02-04 at 20.53.40

Any thoughts as to what might be going on here?

What are you (your client) trying to replace with what?

replacing the image with another image (in testing even the exact same file) via the replace function…

What Kirby version are you using? If not the latest release, have you tried if updating makes a difference?

3.4.4, I’m a bit hesitant to update to 3.5.1 since we’re using editor in quite a few places in this project, and it could conflict with 3.5’s blocks

Yes, the Editor plugin is not compatible with 3.5.x, but on the other hand possible issues with the replace method could have been fixed in the meantime, although the only recent issue with image replacements I could find related to iOS and I didn’t go through all the changelogs since 3.4.4.