Forum Join our community

Hi,

TZ Portfolio is giving errors on frontend and backend. Is there a known source for this ?

Current site url: paginario.pt (page with TZ is not public yet)
Product in use and version: Joomla 4.2.8 and TZ Portfolio 2.6.3

Issue details:

On front end when we go into an TZ article we get:

0 Class "JArrayHelper" not found

On the back end when we go into an TZ article we get:

0 Call to undefined method Joomla\CMS\Application\AdministratorApplication::isAdmin()
Comment
There are no comments made yet.
Accepted Answer
Uchiha Itachi Accepted Answer Pending Moderation
  1. Monday, 13 March 2023
  2. -
  3. # Permalink
0
Votes
Undo
Hi, I suggest that you should update the Flipbook gallery and Navigation addons to the latest version.
Comment
There are no comments made yet.
Uchiha Itachi Accepted Answer Pending Moderation
  1. Friday, 03 March 2023
  2. -
  3. # 1
0
Votes
Undo
Hi, first, you should update all the addons and styles of TZ Portfolio+ to the latest version.
Second, plz turn on the debug system and send me the screenshots of the error.
Comment
There are no comments made yet.
nuno Accepted Answer Pending Moderation
  1. Friday, 10 March 2023
  2. -
  3. # 2
0
Votes
Undo
Hi,

To my knowledge the Joomla 4.2.8 and TZ Portfolio 2.6.3 are the latest versions. Am I missing something ?

backoffice log:

An error has occurred.

0 Call to undefined method Joomla\CMS\Application\AdministratorApplication::isAdmin()

Call stack
# Function Location
1 () JROOT/components/com_tz_portfolio_plus/addons/mediatype/flipbook_gallery/tmpl/default.php:47
2 require_once() JROOT/administrator/components/com_tz_portfolio_plus/libraries/plugin/plugin.php:475
3 TZ_Portfolio_PlusPlugin->onMediaTypeDisplayArticleForm() JROOT/libraries/src/Plugin/CMSPlugin.php:279
4 Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}() JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:486
5 Joomla\Event\Dispatcher->dispatch() JROOT/libraries/src/Application/EventAware.php:107
6 Joomla\CMS\Application\WebApplication->triggerEvent() JROOT/administrator/components/com_tz_portfolio_plus/views/article/view.html.php:87
7 TZ_Portfolio_PlusViewArticle->display() JROOT/libraries/src/MVC/Controller/BaseController.php:639
8 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_tz_portfolio_plus/controller.php:158
9 TZ_Portfolio_PlusController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:672
10 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_tz_portfolio_plus/tz_portfolio_plus.php:60
11 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
12 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
13 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
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:294
17 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
18 require_once() JROOT/administrator/index.php:32

Front Office log:


0 Class "JArrayHelper" not found
Call stack
# Function Location
1 () JROOT/components/com_tz_portfolio_plus/addons/content/navigation/models/article.php:142
2 PlgTZ_Portfolio_PlusContentNavigationModelArticle->getNavigation() JROOT/libraries/src/MVC/View/AbstractView.php:146
3 Joomla\CMS\MVC\View\AbstractView->get() JROOT/components/com_tz_portfolio_plus/addons/content/navigation/views/article/view.html.php:28
4 PlgTZ_Portfolio_PlusContentNavigationViewArticle->display() JROOT/administrator/components/com_tz_portfolio_plus/libraries/controller/legacy.php:135
5 TZ_Portfolio_Plus_AddOnControllerLegacy->display() JROOT/administrator/components/com_tz_portfolio_plus/libraries/controller/legacy.php:227
6 TZ_Portfolio_Plus_AddOnControllerLegacy->execute() JROOT/administrator/components/com_tz_portfolio_plus/libraries/plugin/plugin.php:585
7 TZ_Portfolio_PlusPlugin->_getViewHtml() JROOT/administrator/components/com_tz_portfolio_plus/libraries/plugin/plugin.php:551
8 TZ_Portfolio_PlusPlugin->onContentDisplayArticleView() JROOT/administrator/components/com_tz_portfolio_plus/libraries/view.php:99
9 TZ_Portfolio_PlusViewLegacy->_generateLayout() JROOT/administrator/components/com_tz_portfolio_plus/libraries/view.php:40
10 TZ_Portfolio_PlusViewLegacy->generateLayout() JROOT/components/com_tz_portfolio_plus/views/article/view.html.php:363
11 TZ_Portfolio_PlusViewArticle->display() JROOT/libraries/src/MVC/Controller/BaseController.php:639
12 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_tz_portfolio_plus/libraries/controller.php:43
13 TZ_Portfolio_PlusControllerLegacy->display() JROOT/components/com_tz_portfolio_plus/controller.php:237
14 TZ_Portfolio_PlusController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:672
15 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/components/com_tz_portfolio_plus/tz_portfolio_plus.php:59
16 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
17 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
18 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
19 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:200
20 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:241
21 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
22 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
23 require_once() JROOT/index.php:32
We can’t seem to find the page you’re looking for
Comment
There are no comments made yet.
nuno Accepted Answer Pending Moderation
  1. Friday, 10 March 2023
  2. -
  3. # 3
0
Votes
Undo
it seams o be some kind of isue due to joomla 3.5 and jommla 4.0.

Changes i've made to workaround the problems . . .

On file "components/com_tz_portfolio_plus/addons/content/navigation/models/article.php"

Line 142 -> $scatid = ArrayHelper::getColumn($row->second_categories, 'id');
Line 160 -> if ($app->isClient('site') && $app->getLanguageFilter())

on the admin site "components/com_tz_portfolio_plus/addons/mediatype/image_gallery/tmpl/default.php"

Line 47 -> if ($japp->isClient('admin')) {
Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Share Location

Sharing your current location while posting a new question allow viewers to identify the location you are located.

Latitude:
Longitude: