Jump to content

Twenty-One theme issues


mrtechnik

Recommended Posts

I have just updated to 8.1.3 from 8.1.1 and I have enabled the new Twenty-One theme. However, I get the below error:

Error: Call to undefined method stdClass::getRoutePath() in /home/weave/whmcs_data/templates_c/601f3809178a2f6321d022d6d616a4786a060d56_0.file.homepage.tpl.php:44

The Twenty-One theme is unedited and all I Have done it copy and pasted it from the download across to my server. If I revert the theme back to my old custom one the site works without a hitch.

Here is the full error:

Error: Call to undefined method stdClass::getRoutePath() in /home/weave/whmcs_data/templates_c/601f3809178a2f6321d022d6d616a4786a060d56_0.file.homepage.tpl.php:44
Stack trace:
#0 /home/weave/whmcs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_603a85b1ac1c15_78072802()
#1 /home/weave/whmcs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#2 /home/weave/whmcs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render()
#3 /home/weave/whmcs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render()
#4 /home/weave/whmcs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute()
#5 /home/weave/whmcs/vendor/whmcs/whmcs-foundation/lib/Smarty.php(0): Smarty_Internal_TemplateBase->fetch()
#6 /home/weave/whmcs/vendor/whmcs/whmcs-foundation/lib/ClientArea.php(0): WHMCS\Smarty->fetch()
#7 /home/weave/whmcs/vendor/whmcs/whmcs-foundation/lib/ClientArea.php(0): WHMCS\ClientArea->outputWithoutExit()
#8 /home/weave/whmcs/vendor/whmcs/whmcs-foundation/lib/Http/Message/AbstractViewableResponse.php(0): WHMCS\ClientArea->getOutputContent()
#9 /home/weave/whmcs/vendor/middlewares/utils/src/CallableHandler.php(39): WHMCS\Http\Message\AbstractViewableResponse->getBody()
#10 /home/weave/whmcs/vendor/middlewares/fast-route/src/FastRoute.php(96): Middlewares\Utils\CallableHandler::execute()
#11 /home/weave/whmcs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/HandleProcessor.php(0): Middlewares\FastRoute->process()
#12 /home/weave/whmcs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\HandleProcessor->_process()
#13 /home/weave/whmcs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\HandleProcessor->process()
#14 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}()
#15 /home/weave/whmcs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func()
#16 /home/weave/whmcs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/AbstractProxyMiddleware.php(0): Middlewares\Utils\Delegate->process()
#17 /home/weave/whmcs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\AbstractProxyMiddleware->_process()
#18 /home/weave/whmcs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\AbstractProxyMiddleware->process()
#19 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}()
#20 /home/weave/whmcs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func()
#21 /home/weave/whmcs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/AbstractProxyMiddleware.php(0): Middlewares\Utils\Delegate->process()
#22 /home/weave/whmcs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\AbstractProxyMiddleware->_process()
#23 /home/weave/whmcs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\AbstractProxyMiddleware->process()
#24 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}()
#25 /home/weave/whmcs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func()
#26 /home/weave/whmcs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/BackendPsr7Response.php(0): Middlewares\Utils\Delegate->process()
#27 /home/weave/whmcs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/BackendPsr7Response.php(0): WHMCS\Route\Middleware\BackendPsr7Response->_process()
#28 /home/weave/whmcs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\BackendPsr7Response->process()
#29 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}()
#30 /home/weave/whmcs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func()
#31 /home/weave/whmcs/vendor/middlewares/utils/src/Dispatcher.php(56): Middlewares\Utils\Delegate->process()
#32 /home/weave/whmcs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/BackendDispatch.php(0): Middlewares\Utils\Dispatcher->dispatch()
#33 /home/weave/whmcs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\BackendDispatch->_process()
#34 /home/weave/whmcs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\BackendDispatch->process()
#35 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}()
#36 /home/weave/whmcs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func()
#37 /home/weave/whmcs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutePathMatch.php(0): Middlewares\Utils\Delegate->process()
#38 /home/weave/whmcs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutePathMatch->_process()
#39 /home/weave/whmcs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutePathMatch->process()
#40 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}()
#41 /home/weave/whmcs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func()
#42 /home/weave/whmcs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/WhitelistFilter.php(0): Middlewares\Utils\Delegate->process()
#43 /home/weave/whmcs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/DelegatingMiddlewareTrait.php(0): WHMCS\Route\Middleware\WhitelistFilter->_process()
#44 /home/weave/whmcs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\WhitelistFilter->process()
#45 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}()
#46 /home/weave/whmcs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func()
#47 /home/weave/whmcs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableClientModuleRequest.php(0): Middlewares\Utils\Delegate->process()
#48 /home/weave/whmcs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableClientModuleRequest->_process()
#49 /home/weave/whmcs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableClientModuleRequest->process()
#50 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}()
#51 /home/weave/whmcs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func()
#52 /home/weave/whmcs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableAdminRequestUri.php(0): Middlewares\Utils\Delegate->process()
#53 /home/weave/whmcs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableAdminRequestUri->_process()
#54 /home/weave/whmcs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableAdminRequestUri->process()
#55 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}()
#56 /home/weave/whmcs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func()
#57 /home/weave/whmcs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableRequestUri.php(0): Middlewares\Utils\Delegate->process()
#58 /home/weave/whmcs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableRequestUri->_process()
#59 /home/weave/whmcs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableRequestUri->process()
#60 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}()
#61 /home/weave/whmcs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func()
#62 /home/weave/whmcs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableRequestQueryUri.php(0): Middlewares\Utils\Delegate->process()
#63 /home/weave/whmcs/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableRequestQueryUri->_process()
#64 /home/weave/whmcs/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableRequestQueryUri->process()
#65 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}()
#66 /home/weave/whmcs/vendor/middlewares/utils/src/Delegate.php(31): call_user_func()
#67 /home/weave/whmcs/vendor/middlewares/utils/src/Dispatcher.php(56): Middlewares\Utils\Delegate->process()
#68 /home/weave/whmcs/index.php(0): Middlewares\Utils\Dispatcher->dispatch()
#69 {main}

Does anyone have a suggest of why this is happening?

I have tried other pages like the client login page and the base store page and that seems to work. Just the homepage is having issues.

Edited by WeaveStudios
Link to comment
Share on other sites

17 hours ago, evolve hosting said:

There are changes to the template between 8.1.1 and 8.1.3.

if I was being a pedant, I would say the changes were between v8.1.1 and v8.1.2 - v8.1.3 wouldn't have included any template changes. 🙂

21 hours ago, WeaveStudios said:

I have tried other pages like the client login page and the base store page and that seems to work. Just the homepage is having issues.

all fixed now? homepage redirects to login, so difficult to know..

btw a routepath error can often be an issue related to the Friendly URL settings.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated