Page 1 of 3

Gallery plugin broken

Posted: 18 May 2021, 16:58
by rbuelund
The Phoca gallery content plugin seems to be broken. When i press the button in the editor i get this error:

"Class 'Phoca\Render\Adminviews' not found "

Re: Gallery plugin broken

Posted: 18 May 2021, 18:58
by christine
Hi,

Hi, enable debug mode in your Joomla! global configuration so you get whole error message including the file and row where the error occurs.

Kind regards
Christine

Re: Gallery plugin broken

Posted: 18 May 2021, 20:05
by rbuelund
Here you have the complete debug code:

Class 'Phoca\Render\Adminviews' not found
.../administrator/components/com_phocagallery/libraries/phocagallery/render/renderadminviews.php:19

14 use Phoca\Render\Adminviews;
15 use Joomla\CMS\Factory;
16 use Joomla\CMS\HTML\HTMLHelper;
17 use Joomla\CMS\Language\Text;
18
19 class PhocaGalleryRenderAdminViews extends AdminViews
20 {
21 public $view = '';
22 public $viewtype = 1;
23 public $option = '';
24 public $optionLang = '';

Re: Gallery plugin broken

Posted: 18 May 2021, 23:43
by christine
Hi,

Check if you have the latest Plugins:
https://www.phoca.cz/download/category/ ... ton-plugin > 4.4.0
https://www.phoca.cz/download/category/ ... ery-plugin > 4.4.2

Kind regards
Christine

Re: Gallery plugin broken

Posted: 19 May 2021, 05:52
by rbuelund
Ahh sorry - forgot to update the button plugin - by the why - why are they not showing as not updated in the joomla updater ??

Re: Gallery plugin broken

Posted: 24 May 2021, 12:42
by christine
Hi,

Unfortunately there is no (automatic) update function. Means: Check more often to see if there is an update.
https://www.phoca.cz/download/category/ ... ery-plugin.
Example of info of extension version server: https://raw.githubusercontent.com/Phoca ... nifest.xml
Most of the time will be also informed in the "News" section.

Kind regards
Christine

Re: Gallery plugin broken

Posted: 09 Jun 2021, 09:04
by rbuelund
Allthough my plugins are now updated - I still get the above error, when using the Phoca Button in the editor ???

Re: Gallery plugin broken

Posted: 09 Jun 2021, 09:05
by rbuelund
Class 'Phoca\Render\Adminviews' not found
.../administrator/components/com_phocagallery/libraries/phocagallery/render/renderadminviews.php:19

14 use Phoca\Render\Adminviews;
15 use Joomla\CMS\Factory;
16 use Joomla\CMS\HTML\HTMLHelper;
17 use Joomla\CMS\Language\Text;
18
19 class PhocaGalleryRenderAdminViews extends AdminViews
20 {
21 public $view = '';
22 public $viewtype = 1;
23 public $option = '';
24 public $optionLang = '';

Re: Gallery plugin broken

Posted: 09 Jun 2021, 12:42
by Jan
Hi, first of all, which component version do you run?

Jan

Re: Gallery plugin broken

Posted: 09 Jun 2021, 12:45
by rbuelund
Version 4.4.2