After upgrade Blazy from 2.7 to 2.8+ I get error

PHP message: Error: Call to a member function createDerivative() on string in /var/www/web/modules/contrib/blazy/src/Media/Placeholder.php on line 87 #0 /var/www/web/modules/contrib/blazy/src/BlazyManager.php(123): Drupal\\blazy\\Media\\Placeholder::thumbnail(Array, Array)\n#1 /var/www/web/modules/contrib/blazy/src/BlazyManager.php(74): Drupal\\blazy\\BlazyManager->prepareBlazy(Array, Array)\n#2 [internal function]: Drupal\\blazy\\BlazyManager->preRenderBlazy(Array)\n#3 /var/www/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(101): call_user_func_array(Array, Array)\n#4 /var/www/web/core/lib/Drupal/Core/Render/Renderer.php(772):

Comments

ivnish created an issue. See original summary.

gausarts’s picture

Thank you.

I am truly sorry for inconveniences. Weird things happened between 2.6 - 2.9.

These optimization period should not have been released too soon.
But alas, I was running out of my time, and needed third eyes last time to move forward.

AFAIK, people hardly reported DEV works, but they would for full releases.
So I took the chances. Constructive angers are cheerfully and gratefully accepted.

The bright side was they would help speed the engine at my side.

If this period were Will Smith, it would say I am a WIP :)

Please stick it to 2.5 till 2.10+ out. Hopefully dev storms subside by then.

Your OP issue was likely fixed here:
#3269222: Move more settings into BlazySettings and classes into folders

I would not recommend DEV, but if you could test out the latest DEV and verify it was fixed, that will be great.

So let's keep it open till a new release.

Cheers :)

gausarts’s picture

Status: Active » Fixed

Should be outdated, but let's stick it for 2 weeks to avoid dups.

A friendly housekeeping for a new hot fix release.

RC1 was just landed with the included patch:
https://www.drupal.org/project/blazy/releases/8.x-2.10-rc1

A huge dev turbulence had subsided, we are almost back in business again :)

gausarts’s picture

Component: Code » Regression
Parent issue: » #3257511: Optimization pre Blazy 3

For statistical purposes.

gausarts’s picture

Side effects should be related, not a child issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.