Class 'Kirby\Image\image' not found in kirby /site /snippets /prevnext.php

I am getting the following error with the Prevnext navigation after the update to Kirby 3 and my modifications:

Class ‘Kirby\Image\image’ not found in kirby /site /snippets /prevnext.php

The code I am using is.

<img src="<?= url(new Kirby\Image\image("assets/images/arrow-{$directionPrev}.svg")) ?>">

Problem solved.

If you explain how you solved your problem, it might be helpful for others.

Somehow - with my current configuration - all articles need an image file attached. The error was caused by an article without image. I still have to work out my blueprint problems after the upgrade to Kirby 3.

Hello Arne,

I have now exactly the same problem. Trying around with the images did not really help. Have you been able to fix it finally?

Many thanks,
dpac

@dpac Could you provide some more information what exactly is not working? And post some code where the error is thrown.