Jump to content
Sign in to follow this  
Gideon So

Single image field cuases error after upgrade to latest version (3.0.137)

Recommended Posts

Hi,

I have a image field which set limit to 1 and it works fine until I upgrade the core to 3.0.137.

Everytime I try to upload a image to the field, it causes the following error:

Recoverable Fatal Error: Argument 1 passed to ProcessWire\Pageimage::setOriginal() must be an instance of ProcessWire\Pageimage, null given, called in /home/web/processwire/WireCore-3.0/core/PageimageVariations.php on line 257 and defined (line 1334 of /home/web/processwire/WireCore-3.0/core/Pageimage.php)

When I reload the page and try to edit the page, the backend looks like the following screenshot. The old image is not deleted. And I found that the image record still exists in the database.

Any clue is welcome.

Gideon

 

backend_image_field_screenshot.png

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...