PG Joomla 4 upgrade Unknown named parameter $params

Phoca Gallery - image gallery extension
thierrycv
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 04 Mar 2022, 18:39

PG Joomla 4 upgrade Unknown named parameter $params

Post by thierrycv » 04 Mar 2022, 18:42

Hi
After a joomla 4 upgrade it's not possible to use Phoca Gallery anymore, even after the beta update

I got this error message when i want to change PG parameters "Unknown named parameter $params "

Any idea ?

Thanks

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 45253
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PG Joomla 4 upgrade Unknown named parameter $params

Post by Jan » 04 Mar 2022, 23:24

Hi, try to enable debug mode in your Joomla global configuration so you will get whole error message including file and line where this error occurs?

Which Joomla version do you use? Which Phoca Gallery version?

Jan
If you find Phoca extensions useful, please support the project

thierrycv
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 04 Mar 2022, 18:39

Re: PG Joomla 4 upgrade Unknown named parameter $params

Post by thierrycv » 03 Jul 2022, 10:52

Hi Jan
Sorry, no time to return check this till now
Joomla 4.1.5, Phocagallery 4.5.0
i tried to uninstall and reinstall Phocagallery
i got this error when i click on phocagallery parameters or when i try to create a new category

logs below

Function Location
1 () JROOT/libraries/src/Editor/Editor.php:198
2 Joomla\CMS\Editor\Editor->display() JROOT/libraries/src/Form/Field/EditorField.php:261
3 Joomla\CMS\Form\Field\EditorField->getInput() JROOT/libraries/src/Form/FormField.php:1082
4 Joomla\CMS\Form\FormField->renderField() JROOT/libraries/src/Form/Form.php:606
5 Joomla\CMS\Form\Form->renderFieldset() JROOT/administrator/components/com_config/tmpl/component/default.php:111
6 include() JROOT/libraries/src/MVC/View/HtmlView.php:436
7 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:220
8 Joomla\CMS\MVC\View\HtmlView->display() JROOT/administrator/components/com_config/src/View/Component/HtmlView.php:102
9 Joomla\Component\Config\Administrator\View\Component\HtmlView->display() JROOT/libraries/src/MVC/Controller/BaseController.php:697
10 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_config/src/Controller/DisplayController.php:59
11 Joomla\Component\Config\Administrator\Controller\DisplayController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:735
12 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:146
13 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
14 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
15 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
16 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
17 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:63
18 require_once() JROOT/administrator/index.php:32

after a new "category" request

Call stack
# Function Location
1 () JROOT/libraries/src/Editor/Editor.php:198
2 Joomla\CMS\Editor\Editor->display() JROOT/libraries/src/Form/Field/EditorField.php:261
3 Joomla\CMS\Form\Field\EditorField->getInput() JROOT/libraries/src/Form/FormField.php:468
4 Joomla\CMS\Form\FormField->__get() JROOT/libraries/src/Form/Field/TextareaField.php:92
5 Joomla\CMS\Form\Field\TextareaField->__get() JROOT/libraries/src/Form/Field/EditorField.php:136
6 Joomla\CMS\Form\Field\EditorField->__get() JROOT/libraries/src/Form/Form.php:500
7 Joomla\CMS\Form\Form->getInput() JROOT/administrator/components/com_phocagallery/libraries/Phoca/Render/Adminview.php:228
8 Phoca\Render\Adminview->group() JROOT/administrator/components/com_phocagallery/views/phocagalleryc/tmpl/edit.php:77
9 include() JROOT/libraries/src/MVC/View/HtmlView.php:436
10 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:220
11 Joomla\CMS\MVC\View\HtmlView->display() JROOT/administrator/components/com_phocagallery/views/phocagalleryc/view.html.php:90
12 PhocaGalleryCpViewPhocaGalleryC->display() JROOT/libraries/src/MVC/Controller/BaseController.php:697
13 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_phocagallery/controller.php:64
14 PhocaGalleryCpController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:735
15 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_phocagallery/phocagallery.php:50
16 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
17 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
18 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
19 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
20 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
21 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
22 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:63
23 require_once() JROOT/administrator/index.php:32




Thanks for your help

christine
Phoca Hero
Phoca Hero
Posts: 2395
Joined: 28 Nov 2010, 17:20

Re: PG Joomla 4 upgrade Unknown named parameter $params

Post by christine » 03 Jul 2022, 11:41

Hi,

are you using PHP 8.1? If Yes, try with PHP 7.4 or 8.0

Kind regards
Christine

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 45253
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PG Joomla 4 upgrade Unknown named parameter $params

Post by Jan » 04 Jul 2022, 15:52

Hi, the listed code is only call stack but what is the exact errror message? (including file and row of the error)

Jan
If you find Phoca extensions useful, please support the project

thierrycv
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 04 Mar 2022, 18:39

Re: PG Joomla 4 upgrade Unknown named parameter $params

Post by thierrycv » 19 Jul 2022, 20:32

Hi Jan
I use Php 8.0

The issue occurs when I want to enter in parameters to change category view

Then I got


Call stack
# Function Location
1 () JROOT/libraries/src/Editor/Editor.php:198
2 Joomla\CMS\Editor\Editor->display() JROOT/libraries/src/Form/Field/EditorField.php:261
3 Joomla\CMS\Form\Field\EditorField->getInput() JROOT/libraries/src/Form/FormField.php:1082
4 Joomla\CMS\Form\FormField->renderField() JROOT/libraries/src/Form/Form.php:606
5 Joomla\CMS\Form\Form->renderFieldset() JROOT/administrator/components/com_config/tmpl/component/default.php:111
6 include() JROOT/libraries/src/MVC/View/HtmlView.php:436
7 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:220
8 Joomla\CMS\MVC\View\HtmlView->display() JROOT/administrator/components/com_config/src/View/Component/HtmlView.php:102
9 Joomla\Component\Config\Administrator\View\Component\HtmlView->display() JROOT/libraries/src/MVC/Controller/BaseController.php:697
10 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_config/src/Controller/DisplayController.php:59
11 Joomla\Component\Config\Administrator\Controller\DisplayController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:735
12 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:146
13 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
14 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
15 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
16 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
17 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:63
18 require_once() JROOT/administrator/index.php:32

Thanks for your help

thierrycv
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 04 Mar 2022, 18:39

Re: PG Joomla 4 upgrade Unknown named parameter $params

Post by thierrycv » 19 Jul 2022, 20:42

Hi again

Seems to be the je editor. With tiny editor everything works now

I will check it

Cheers

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 45253
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PG Joomla 4 upgrade Unknown named parameter $params

Post by Jan » 20 Jul 2022, 13:50

OK
If you find Phoca extensions useful, please support the project

Post Reply