-
-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid block type exception #172
Comments
The latest version of this module is 0.14.3. However, you are posting that you are using version 0.5.10. That's the other module - Yireo NextGenImages module - not the WebP module. Which version are you using of the WebP module? Is it 0.14.3? The latest version of this module does include the Virtual Type that you mention in your error: https://github.com/yireo/Yireo_Webp2/blob/master/etc/di.xml#L12 This is obviously something you have already done as a Magento professional, but I just want to make sure: What commands did you run after running the composer command? And what kind of mode is your shop in? (developer or production). |
I followed your git instructions:
I just checked with: composer show yireo/magento2-webp2 and is 0.14.3 My current mode is: developer After seeing it was not working, i compiled the code and remove caches:
I restarted apache too. all commands were succesfuly executed |
After removing cache again, and restart instance, sudently both modules began to be displayed in backend menu correctly. And at the same time, images from my catalog are not displayed. You can check it at: https://nailshop.balerina.es/geles-y-bases.html Aparently the html code is ok, as i see it have a picture tag, but webp image is 1 pixel size. In the other hand, plugin seem to be working fine in product detail page: |
I installed your module using composer:
PHP version 8.2.22
Module version 0.5.10
GD support WebP is supported by GD
Magento ver. 2.4.7
I get this error when i go to Yireo Webp2 configuration tab
`2 exception(s):
Exception #0 (Magento\Framework\Exception\LocalizedException): Invalid block type: Yireo\Webp2\VirtualType\Block\Adminhtml\System\Config\ModuleVersion
Exception #1 (ReflectionException): Class "Yireo\Webp2\VirtualType\Block\Adminhtml\System\Config\ModuleVersion" does not exist
Exception #0 (Magento\Framework\Exception\LocalizedException): Invalid block type: Yireo\Webp2\VirtualType\Block\Adminhtml\System\Config\ModuleVersion
Exception #1 (ReflectionException): Class "Yireo\Webp2\VirtualType\Block\Adminhtml\System\Config\ModuleVersion" does not exist
`The text was updated successfully, but these errors were encountered: