behavior::modal not found - when creating first image

Phoca Gallery - image gallery extension
fheijnen
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 23 Jul 2024, 23:21

behavior::modal not found - when creating first image

Post by fheijnen »

https://imgur.com/a/mYybI5M

See screen shots. New installation on joomla 5. Creating thumbnails give also error.
In previous bulk upload the images could not be loaded but could be downloaded.

Tags:
fheijnen
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 23 Jul 2024, 23:21

Re: behavior::modal not found - when creating first image

Post by fheijnen »

JROOT/libraries/src/HTML/HTMLHelper.php:145
That is the first line in the call stack. Seems HTML helper is not getting the requiered information when used in categories or tags or other subitems
christine
Phoca Hero
Phoca Hero
Posts: 2818
Joined: 28 Nov 2010, 17:20

Re: behavior::modal not found - when creating first image

Post by christine »

Hi,

We need more info. What version are you using? PG / PHP / Template
fheijnen wrote: 25 Jul 2024, 19:43 JROOT/libraries/src/HTML/HTMLHelper.php:145
That is the first line in the call stack.
Would be useful, to get the complete Call Stack.
Note that the top line is not necessarily the cause of the error, nor is it necessarily the code location that needs to be corrected.

Often, the lines below will indicate an extension that caused the error, e.g. by sending an incorrectly worded request.

Code: Select all

public $error_reporting = 'maximum';
public $debug = true;
Sometimes it can be useful that you temporarily rename the error.php file in the template folder, if it exists, to e.g. errorxxxxxx.php. This will ensure that Joomla's error page is used.

Kind regards
Christine
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: behavior::modal not found - when creating first image

Post by Jan »

As Christine wrote, just enable debug mode to get the error message including the trace, se we know from which file the calling of this function (which produces error) comes.

Jan
If you find Phoca extensions useful, please support the project
fheijnen
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 23 Jul 2024, 23:21

Re: behavior::modal not found - when creating first image

Post by fheijnen »

1 () JROOT/libraries/src/HTML/HTMLHelper.php:145
2 Joomla\CMS\HTML\HTMLHelper::_() JROOT/plugins/editors-xtd/joombu/joombu.php:64
3 plgButtonJoomBu->onDisplay() JROOT/libraries/src/Editor/Button/ButtonsRegistry.php:118
4 Joomla\CMS\Editor\Button\ButtonsRegistry->initRegistry() JROOT/libraries/src/Editor/AbstractEditorProvider.php:62
5 Joomla\CMS\Editor\AbstractEditorProvider->getButtons() JROOT/plugins/editors/tinymce/src/PluginTraits/XTDButtons.php:41
6 Joomla\Plugin\Editors\TinyMCE\Provider\TinyMCEProvider->tinyButtons() JROOT/plugins/editors/tinymce/src/PluginTraits/DisplayTrait.php:118
7 Joomla\Plugin\Editors\TinyMCE\Provider\TinyMCEProvider->display() JROOT/libraries/src/Editor/Editor.php:211
8 Joomla\CMS\Editor\Editor->display() JROOT/libraries/src/Form/Field/EditorField.php:250
9 Joomla\CMS\Form\Field\EditorField->getInput() JROOT/libraries/src/Form/FormField.php:482
10 Joomla\CMS\Form\FormField->__get() JROOT/libraries/src/Form/Field/TextareaField.php:94
11 Joomla\CMS\Form\Field\TextareaField->__get() JROOT/libraries/src/Form/Field/EditorField.php:138
12 Joomla\CMS\Form\Field\EditorField->__get() JROOT/libraries/src/Form/Form.php:458
13 Joomla\CMS\Form\Form->getInput() JROOT/administrator/components/com_phocagallery/libraries/Phoca/Render/Adminview.php:277
14 Phoca\Render\Adminview->group() JROOT/administrator/components/com_phocagallery/views/phocagallerytag/tmpl/edit.php:57
15 include() JROOT/libraries/src/MVC/View/HtmlView.php:416
16 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:204
17 Joomla\CMS\MVC\View\HtmlView->display() JROOT/administrator/components/com_phocagallery/views/phocagallerytag/view.html.php:38
18 PhocaGalleryCpViewPhocaGalleryTag->display() JROOT/libraries/src/MVC/Controller/BaseController.php:697
19 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_phocagallery/controller.php:65
20 PhocaGalleryCpController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:730
21 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_phocagallery/phocagallery.php:50
22 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
23 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
24 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
25 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:150
26 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:195
27 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:306
28 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:58
29 require_once() JROOT/administrator/index.php:32
christine
Phoca Hero
Phoca Hero
Posts: 2818
Joined: 28 Nov 2010, 17:20

Re: behavior::modal not found - when creating first image

Post by christine »

Hi,
looks like it's a Joombu editor issue. Joombu doesn't exist in Joomla 4 or higher. Go to your list of plugins and filter for editors-xtd. Disable Joombu. You could also uninstall it.

Kind regards
Christine
fheijnen
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 23 Jul 2024, 23:21

Re: behavior::modal not found - when creating first image

Post by fheijnen »

PHP 8.2.20
Joomja 5.1.2
error.php in Atum 1.0 disabled

Error log with joomla built in:

1 () JROOT/libraries/src/HTML/HTMLHelper.php:145
2 Joomla\CMS\HTML\HTMLHelper::_() JROOT/plugins/editors-xtd/joombu/joombu.php:64
3 plgButtonJoomBu->onDisplay() JROOT/libraries/src/Editor/Button/ButtonsRegistry.php:118
4 Joomla\CMS\Editor\Button\ButtonsRegistry->initRegistry() JROOT/libraries/src/Editor/AbstractEditorProvider.php:62
5 Joomla\CMS\Editor\AbstractEditorProvider->getButtons() JROOT/plugins/editors/tinymce/src/PluginTraits/XTDButtons.php:41
6 Joomla\Plugin\Editors\TinyMCE\Provider\TinyMCEProvider->tinyButtons() JROOT/plugins/editors/tinymce/src/PluginTraits/DisplayTrait.php:118
7 Joomla\Plugin\Editors\TinyMCE\Provider\TinyMCEProvider->display() JROOT/libraries/src/Editor/Editor.php:211
8 Joomla\CMS\Editor\Editor->display() JROOT/libraries/src/Form/Field/EditorField.php:250
9 Joomla\CMS\Form\Field\EditorField->getInput() JROOT/libraries/src/Form/FormField.php:482
10 Joomla\CMS\Form\FormField->__get() JROOT/libraries/src/Form/Field/TextareaField.php:94
11 Joomla\CMS\Form\Field\TextareaField->__get() JROOT/libraries/src/Form/Field/EditorField.php:138
12 Joomla\CMS\Form\Field\EditorField->__get() JROOT/libraries/src/Form/Form.php:458
13 Joomla\CMS\Form\Form->getInput() JROOT/administrator/components/com_tags/tmpl/tag/edit.php:43
14 include() JROOT/libraries/src/MVC/View/HtmlView.php:416
15 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:204
16 Joomla\CMS\MVC\View\HtmlView->display() JROOT/administrator/components/com_tags/src/View/Tag/HtmlView.php:90
17 Joomla\Component\Tags\Administrator\View\Tag\HtmlView->display() JROOT/libraries/src/MVC/Controller/BaseController.php:697
18 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_tags/src/Controller/DisplayController.php:65
19 Joomla\Component\Tags\Administrator\Controller\DisplayController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:730
20 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
21 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
22 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:150
23 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:195
24 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:306
25 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:58
26 require_once() JROOT/administrator/index.php:32
christine
Phoca Hero
Phoca Hero
Posts: 2818
Joined: 28 Nov 2010, 17:20

Re: behavior::modal not found - when creating first image

Post by christine »

Hi,

My answer above overlapped with your post.
Kind regards
Christine
fheijnen
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 23 Jul 2024, 23:21

Re: behavior::modal not found - when creating first image

Post by fheijnen »

I have disabled all extensions except from Joomla Project and are slowly enabling/reinstaling them to see where the problem lies.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: behavior::modal not found - when creating first image

Post by Benno »

Hi,
...to see where the problem lies.
Christine is absolutely right. The problem is this button plugin: plugins/editors-xtd/joombu
Because it is:
1.) a button plugin for JoomGallery not for Phoca Gallery and
2.) a Joomla! 3x plugin (it is from 2015!...)

Perhaps the JoomGallery Content Plugin is also still installed, which you should also uninstall.

The current Phoca Gallery Content Plugin and Phoca Gallery Button Plugin can be found here:
https://www.phoca.cz/download/66-phoca- ... ery-plugin
https://www.phoca.cz/download/66-phoca- ... ton-plugin

Kind regards,
Benno
Post Reply