errors after upgrade to joomla 4.2.4
Posted: 31 Oct 2022, 23:45
I tried to upgraded my Joomla 3.10 site to 4.2.4 and updated phocadownload to 4.0.4
My site uses php 8.1
The upgrade itself went without problems and no error.
When I click on a link to phocadownload I get an error and have no idea how to solve this.
The traceback of the error is:
============
in ??/administrator/components/com_phocadownload/libraries/phocadownload/path/routerrules.php (line 38)
PhocaDownloadRouterrules->build() in ??/libraries/src/Component/Router/RouterView.php (line 229)
RouterView->build() in ??/components/com_phocadownload/router.php (line 314)
PhocadownloadRouter->build() in ??/libraries/src/Router/SiteRouter.php (line 441)
SiteRouter->buildSefRoute() in ??/libraries/src/Router/Router.php (line 405)
Router->processBuildRules() in ??/libraries/src/Router/Router.php (line 192)
Router->build() in ??/libraries/src/Router/Route.php (line 141)
Route::link() in ??/libraries/src/Router/Route.php (line 93)
Route::_() in ??/modules/mod_menu/src/Helper/MenuHelper.php (line 154)
MenuHelper::getList() in ??/modules/mod_menu/mod_menu.php (line 16)
include('??/modules/mod_menu/mod_menu.php') in ??/libraries/src/Dispatcher/ModuleDispatcher.php (line 52)
ModuleDispatcher::Joomla\CMS\Dispatcher\{closure}() in ??/libraries/src/Dispatcher/ModuleDispatcher.php (line 55)
ModuleDispatcher->dispatch() in ??/libraries/src/Helper/ModuleHelper.php (line 281)
ModuleHelper::renderRawModule() in ??/libraries/src/Helper/ModuleHelper.php (line 161)
ModuleHelper::renderModule() in ??/libraries/src/Document/Renderer/Html/ModuleRenderer.php (line 99)
ModuleRenderer->render() in ??/libraries/src/Document/Renderer/Html/ModulesRenderer.php (line 50)
ModulesRenderer->render() in ??/libraries/src/Document/HtmlDocument.php (line 565)
HtmlDocument->getBuffer() in ??/libraries/src/Document/HtmlDocument.php (line 848)
HtmlDocument->_renderTemplate() in ??/libraries/src/Document/HtmlDocument.php (line 633)
HtmlDocument->render() in ??/libraries/src/Document/ErrorDocument.php (line 139)
ErrorDocument->render() in ??/libraries/src/Error/Renderer/HtmlRenderer.php (line 78)
HtmlRenderer->render() in ??/libraries/src/Exception/ExceptionHandler.php (line 121)
ExceptionHandler::render() in ??/libraries/src/Exception/ExceptionHandler.php (line 72)
ExceptionHandler::handleException() in ??/libraries/src/Application/CMSApplication.php (line 323)
CMSApplication->execute() in ??/includes/app.php (line 61)
require_once('??/includes/app.php') in ??/index.php (line 32)
Error
Attempt to modify property "query" on null
====
Any idea how to solve this?
Thanks in advance.
My site uses php 8.1
The upgrade itself went without problems and no error.
When I click on a link to phocadownload I get an error and have no idea how to solve this.
The traceback of the error is:
============
in ??/administrator/components/com_phocadownload/libraries/phocadownload/path/routerrules.php (line 38)
PhocaDownloadRouterrules->build() in ??/libraries/src/Component/Router/RouterView.php (line 229)
RouterView->build() in ??/components/com_phocadownload/router.php (line 314)
PhocadownloadRouter->build() in ??/libraries/src/Router/SiteRouter.php (line 441)
SiteRouter->buildSefRoute() in ??/libraries/src/Router/Router.php (line 405)
Router->processBuildRules() in ??/libraries/src/Router/Router.php (line 192)
Router->build() in ??/libraries/src/Router/Route.php (line 141)
Route::link() in ??/libraries/src/Router/Route.php (line 93)
Route::_() in ??/modules/mod_menu/src/Helper/MenuHelper.php (line 154)
MenuHelper::getList() in ??/modules/mod_menu/mod_menu.php (line 16)
include('??/modules/mod_menu/mod_menu.php') in ??/libraries/src/Dispatcher/ModuleDispatcher.php (line 52)
ModuleDispatcher::Joomla\CMS\Dispatcher\{closure}() in ??/libraries/src/Dispatcher/ModuleDispatcher.php (line 55)
ModuleDispatcher->dispatch() in ??/libraries/src/Helper/ModuleHelper.php (line 281)
ModuleHelper::renderRawModule() in ??/libraries/src/Helper/ModuleHelper.php (line 161)
ModuleHelper::renderModule() in ??/libraries/src/Document/Renderer/Html/ModuleRenderer.php (line 99)
ModuleRenderer->render() in ??/libraries/src/Document/Renderer/Html/ModulesRenderer.php (line 50)
ModulesRenderer->render() in ??/libraries/src/Document/HtmlDocument.php (line 565)
HtmlDocument->getBuffer() in ??/libraries/src/Document/HtmlDocument.php (line 848)
HtmlDocument->_renderTemplate() in ??/libraries/src/Document/HtmlDocument.php (line 633)
HtmlDocument->render() in ??/libraries/src/Document/ErrorDocument.php (line 139)
ErrorDocument->render() in ??/libraries/src/Error/Renderer/HtmlRenderer.php (line 78)
HtmlRenderer->render() in ??/libraries/src/Exception/ExceptionHandler.php (line 121)
ExceptionHandler::render() in ??/libraries/src/Exception/ExceptionHandler.php (line 72)
ExceptionHandler::handleException() in ??/libraries/src/Application/CMSApplication.php (line 323)
CMSApplication->execute() in ??/includes/app.php (line 61)
require_once('??/includes/app.php') in ??/index.php (line 32)
Error
Attempt to modify property "query" on null
====
Any idea how to solve this?
Thanks in advance.