hofff / contao-social-tags

GNU Lesser General Public License v3.0
2 stars 5 forks source link

Multisite website (Contao 4.9.15) #20

Closed operatorone closed 3 years ago

operatorone commented 3 years ago

Hi, I set up another page tree in the backend and get this message in the front end of the new page. Old page still working. FAQ is not in use at all, at the moment. What could be the problem? Thnx for the help.

[2021-06-14 17:27:23] request.INFO: Matched route "tl_page.74.root". {"route":"tl_page.74.root","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","pageModel":"[object] (Contao\\PageModel: {})","_route":"tl_page.74.root"},"request_uri":"https://MMMMM-contao.lndo.site/","method":"GET"} [] [2021-06-14 17:27:23] security.INFO: Populated the TokenStorage with an anonymous Token. [] [] [2021-06-14 17:27:23] request.CRITICAL: Uncaught PHP Exception TypeError: "Argument 2 passed to Hofff\Contao\SocialTags\EventListener\Hook\FaqReaderListener::onGetFrontendModule() must be of the type string, null given, called in /app/vendor/contao/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php on line 426" at /app/vendor/hofff/contao-social-tags/src/EventListener/Hook/FaqReaderListener.php line 55 {"exception":"[object] (TypeError(code: 0): Argument 2 passed to Hofff\\Contao\\SocialTags\\EventListener\\Hook\\FaqReaderListener::onGetFrontendModule() must be of the type string, null given, called in /app/vendor/contao/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php on line 426 at /app/vendor/hofff/contao-social-tags/src/EventListener/Hook/FaqReaderListener.php:55)"} []

operatorone commented 3 years ago

Sorry, solved it myself. Forgot to activate a module. Working fine now.