Hello,
after a update to Joomla4 i became the follow error in the front.
The Change to PHP8 was before and on Joomla3 phoca gallery works correct.
What can i change or what is my error?
Best regards
Ralf
---
Attempt to modify property "query" on null
Call stack
# Function Location
1 () JROOT/administrator/components/com_phocagallery/libraries/phocagallery/path/routerrules.php:38
2 PhocaGalleryRouterrules->build() JROOT/libraries/src/Component/Router/RouterView.php:229
3 Joomla\CMS\Component\Router\RouterView->build() JROOT/components/com_phocagallery/router.php:316
4 PhocagalleryRouter->build() JROOT/libraries/src/Router/SiteRouter.php:441
5 Joomla\CMS\Router\SiteRouter->buildSefRoute() JROOT/libraries/src/Router/Router.php:405
6 Joomla\CMS\Router\Router->processBuildRules() JROOT/libraries/src/Router/Router.php:192
7 Joomla\CMS\Router\Router->build() JROOT/libraries/src/Router/Route.php:141
8 Joomla\CMS\Router\Route::link() JROOT/libraries/src/Router/Route.php:93
9 Joomla\CMS\Router\Route::_() JROOT/plugins/system/sef/sef.php:108
10 PlgSystemSef->onAfterRender() JROOT/libraries/src/Plugin/CMSPlugin.php:279
11 Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}() JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:486
12 Joomla\Event\Dispatcher->dispatch() JROOT/libraries/src/Application/EventAware.php:107
13 Joomla\CMS\Application\WebApplication->triggerEvent() JROOT/libraries/src/Application/CMSApplication.php:1023
14 Joomla\CMS\Application\CMSApplication->render() JROOT/libraries/src/Application/SiteApplication.php:714
15 Joomla\CMS\Application\SiteApplication->render() JROOT/libraries/src/Application/CMSApplication.php:299
16 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
17 require_once() JROOT/index.php:32
After Update Joomla4 - Attempt to modify property "query" on null
-
joe72ka
- Phoca Newbie

- Posts: 3
- Joined: 22 Dec 2022, 14:07
- Benno
- Phoca Hero

- Posts: 9964
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
-
joe72ka
- Phoca Newbie

- Posts: 3
- Joined: 22 Dec 2022, 14:07
Re: After Update Joomla4 - Attempt to modify property "query" on null
Hi,
yes.
When i use "list from pictures (category view)"
i select a category with under categories - i became the error
When i use direct a under categorie i became not the error.
Best regards
yes.
When i use "list from pictures (category view)"
i select a category with under categories - i became the error
When i use direct a under categorie i became not the error.
Best regards
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: After Update Joomla4 - Attempt to modify property "query" on null
Hi, do you get the same problem when you use the latest Beta?
https://github.com/PhocaCz/PhocaGallery ... .3Beta.zip
Please let me know if you get the same problem even with Beta.
Thank you, Jan
https://github.com/PhocaCz/PhocaGallery ... .3Beta.zip
Please let me know if you get the same problem even with Beta.
Thank you, Jan
If you find Phoca extensions useful, please support the project
-
joe72ka
- Phoca Newbie

- Posts: 3
- Joined: 22 Dec 2022, 14:07
Re: After Update Joomla4 - Attempt to modify property "query" on null
Thanks with the Beta ist running.
Where i found the beta versions?
Best regards
Ralf
Where i found the beta versions?
Best regards
Ralf
-
christine
- Phoca Hero

- Posts: 2938
- Joined: 28 Nov 2010, 17:20
Re: After Update Joomla4 - Attempt to modify property "query" on null
Hi Ralf,
See similar thread: viewtopic.php?t=64058
Thank you.
Kind regards
Christine
There is no official beta versions. It was implemented from Jan, for testing purposes.joe72ka wrote: 23 Dec 2022, 23:56 Thanks with the Beta ist running.
Where i found the beta versions?
See similar thread: viewtopic.php?t=64058
Thank you.
Kind regards
Christine