Better Frontend link causes component to crash...

Search
Other Bug Reports questions
Forum

Better Frontend link causes component to crash in backend

Peter Wouda's Avatar Peter Wouda
Hi,

I have created a component with www.component-creator.com to collect information about animals. After having created a menu-item to show the list of animals the front-end is working fine, but in the backend I get a fatal error when I want to show the listing of animals.

Disabeling Better Frontend makes the component work again.

Is this something that you can solve, or is it Component Creator who has to solve this?

This is the stacktrace:

Symfony\Component\ErrorHandler\Error\UndefinedMethodError:
Attempted to call an undefined method named "getParams" of class "Joomla\CMS\Application\AdministratorApplication".

at /var/www/vhosts/oddfellowsforukraine.org/httpdocs/components/com_twaka/src/Service/Router.php:56
at Twaka\Component\Twaka\Site\Service\Router->__construct()
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/libraries/src/Component/Router/RouterFactory.php:89)
at Joomla\CMS\Component\Router\RouterFactory->createRouter()
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/libraries/src/Component/Router/RouterServiceTrait.php:47)
at Twaka\Component\Twaka\Administrator\Extension\TwakaComponent->createRouter()
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/libraries/src/Router/SiteRouter.php:568)
at Joomla\CMS\Router\SiteRouter->getComponentRouter()
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/libraries/src/Router/SiteRouter.php:400)
at Joomla\CMS\Router\SiteRouter->buildComponentPreprocess()
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/libraries/src/Router/Router.php:407)
at Joomla\CMS\Router\Router->processBuildRules()
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/libraries/src/Router/Router.php:191)
at Joomla\CMS\Router\Router->build()
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/libraries/src/Router/Route.php:150)
at Joomla\CMS\Router\Route::link()
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/administrator/modules/mod_betterfrontendlink/src/Button.php:148)
at RegularLabs\Module\BetterFrontendLink\Administrator\Button::getUrl()
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/administrator/modules/mod_betterfrontendlink/src/Button.php:74)
at RegularLabs\Module\BetterFrontendLink\Administrator\Button::render()
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/administrator/modules/mod_betterfrontendlink/mod_betterfrontendlink.php:44)
at include('/var/www/vhosts/oddfellowsforukraine.org/httpdocs/administrator/modules/mod_betterfrontendlink/mod_betterfrontendlink.php')
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/libraries/src/Dispatcher/ModuleDispatcher.php:52)
at Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher\{closure}()
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/libraries/src/Dispatcher/ModuleDispatcher.php:55)
at Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch()
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/libraries/src/Helper/ModuleHelper.php:291)
at Joomla\CMS\Helper\ModuleHelper::renderRawModule()
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/libraries/src/Helper/ModuleHelper.php:162)
at Joomla\CMS\Helper\ModuleHelper::renderModule()
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/libraries/src/Document/Renderer/Html/ModuleRenderer.php:99)
at Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render()
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/administrator/templates/atum/html/layouts/status.php:27)
at include('/var/www/vhosts/oddfellowsforukraine.org/httpdocs/administrator/templates/atum/html/layouts/status.php')
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/libraries/src/Layout/FileLayout.php:128)
at Joomla\CMS\Layout\FileLayout->render()
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/libraries/src/Layout/LayoutHelper.php:76)
at Joomla\CMS\Layout\LayoutHelper::render()
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/administrator/templates/atum/error_full.php:83)
at require('/var/www/vhosts/oddfellowsforukraine.org/httpdocs/administrator/templates/atum/error_full.php')
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/administrator/templates/atum/error.php:23)
at require('/var/www/vhosts/oddfellowsforukraine.org/httpdocs/administrator/templates/atum/error.php')
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/libraries/src/Document/HtmlDocument.php:731)
at Joomla\CMS\Document\HtmlDocument->_loadTemplate()
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/libraries/src/Document/HtmlDocument.php:785)
at Joomla\CMS\Document\HtmlDocument->_fetchTemplate()
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/libraries/src/Document/HtmlDocument.php:622)
at Joomla\CMS\Document\HtmlDocument->parse()
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/libraries/src/Document/HtmlDocument.php:640)
at Joomla\CMS\Document\HtmlDocument->render()
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/libraries/src/Document/ErrorDocument.php:139)
at Joomla\CMS\Document\ErrorDocument->render()
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/libraries/src/Error/Renderer/HtmlRenderer.php:70)
at Joomla\CMS\Error\Renderer\HtmlRenderer->render()
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/libraries/src/Exception/ExceptionHandler.php:136)
at Joomla\CMS\Exception\ExceptionHandler::render()
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/libraries/src/Exception/ExceptionHandler.php:73)
at Joomla\CMS\Exception\ExceptionHandler::handleException()
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/libraries/src/Application/CMSApplication.php:336)
at Joomla\CMS\Application\CMSApplication->execute()
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/administrator/includes/app.php:58)
at require_once('/var/www/vhosts/oddfellowsforukraine.org/httpdocs/administrator/includes/app.php')
(/var/www/vhosts/oddfellowsforukraine.org/httpdocs/administrator/index.php:32)

Kind regards,
Peter
Peter van Westen's Avatar Peter van Westen ADMIN
Looks like an issue caused by the TwakaComponent.
Please post a rating at the Joomla! Extensions Directory
Peter Wouda's Avatar Peter Wouda
I will contact them again.
Peter Wouda's Avatar Peter Wouda
Problem has been solved by component-creator.com
You can only post on this forum if you log in