Closed DrVolt closed 4 years ago
@DrVolt , thank you for your report.
Looks like you use Fastest theme for Magento 2, or maybe some-other. It ads custom file to the blog extension. We have added it to the blog extension a few release ago (https://github.com/magefan/module-blog/blob/master/Block/Widget/PostList.php) as some customers complained that it is missing after the update. But looks like now they added some new methods to this file.
Could you please get a file app/code/Magefan/Blog/Block/Widget/PostList.php from your theme archive and share it's code, so we can update it in our repo?
Thank you @ihorvansach for pointing me in the right direction. After updating to the latest version of the Infinit template, everything went back to normal. Attached is the working file from the template PostList-codazon-latest.zip
@DrVolt , thank you. We have updated this file in our codebase. It will be included in the next release. Commit: https://github.com/magefan/module-blog/commit/771b9bc915561a5516c5b660702af0ac837d83c2
After upgrading to version 2.9.4 the Latest Blog Post widget breaks generating this error in the front end: 'We're sorry, an error has occurred while generating this content.'
and this error in the Magento's exception.log file:
[2020-06-29 15:52:37] main.CRITICAL: Invalid method Magefan\Blog\Block\Widget\PostList::isShow {"exception":"[object] (Magento\\Framework\\Exception\\LocalizedException(code: 0): Invalid method Magefan\\Blog\\Block\\Widget\\PostList::isShow at /var/www/vhosts/j702.vertigonet.it/httpdocs/vendor/magento/framework/DataObject.php:399)"} []
The errors happens both on a demo site running Magento 2.3.3 https://j702.vertigonet.it/ and on an upgraded site running Magento 2.3.5-p1 with the same template, both running PHP 7.3
The widget in the demo is configured this way: