fritzmg / contao-be-include-info

Simple extension to provide additional info for include elements in the backend
GNU General Public License v2.0
3 stars 1 forks source link

Contao4: Cannot call abstract method Contao\Widget::generate() #15

Closed ngdot closed 7 years ago

ngdot commented 7 years ago

Hi, unter Contao4 gibt es ein Problem mit deiner Erweiterung! Wenn ich ein Include Element erstellen will, kommt folgender Fehler:

Internal Server Error Cannot call abstract method Contao\Widget::generate()

Hier der Auszug aus dem error.log

2017-11-08 09:28:01] request.INFO: Matched route "contao_backend". {"route":"contao_backend","route_parameters":{"_scope":"backend","_token_check":true,"_controller":"Contao\CoreBundle\Controller\BackendController::mainAction","_route":"contao_backend"},"request_uri":"https://supergeheimedomain.de/contao?act=edit&do=article&id=375&ref=MV1kA38k&rt=QxeCGJDNB2d2XqvCX4wMR5hvvwVo7e87XXsStxXn2bQ&table=tl_content","method":"HEAD"} [] [2017-11-08 09:28:01] security.INFO: Attempting SimplePreAuthentication. {"key":"backend","authenticator":"Contao\CoreBundle\Security\ContaoAuthenticator"} [] [2017-11-08 09:28:01] request.INFO: Matched route "contao_backend". {"route":"contao_backend","route_parameters":{"_scope":"backend","_token_check":true,"_controller":"Contao\CoreBundle\Controller\BackendController::mainAction","_route":"contao_backend"},"request_uri":"https://supergeheimedomain.decontao?act=edit&do=article&id=375&ref=MV1kA38k&rt=QxeCGJDNB2d2XqvCX4wMR5hvvwVo7e87XXsStxXn2bQ&table=tl_content","method":"GET"} [] [2017-11-08 09:28:01] security.INFO: Attempting SimplePreAuthentication. {"key":"backend","authenticator":"Contao\CoreBundle\Security\ContaoAuthenticator"} [] [2017-11-08 09:28:01] app.CRITICAL: An exception occurred. {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Cannot call abstract method Contao\Widget::generate() at /var/www/html/vendor/fritzmg/contao-be-include-info/system/modules/be_include_info/IncludeInfoField.php:88)"} []

fritzmg commented 7 years ago

Probiere mal die aktuelle dev-master Version (https://github.com/fritzmg/contao-be-include-info/commit/f4d66b228dc7bd2a71bbc3de5fb008463c21b096).

ngdot commented 7 years ago

Funktioniert, danke!

fritzmg commented 7 years ago

Ist als 0.5.7 getagged :)