Jump to content

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


Gideon So
 Share

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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...