Hello,
I just upgraded to the latest CB 2.9.3+build.2024.09.10.14.21.57.794f9ce0d
and CB Activity 6.1.1+build.2024.08.01.13.44.07.fb6b1a009
and Joomla 4.4.8
In the profile page above the canvas, the globe icon links to the activity notifications with a popup and a link also to the page (cb-profile/pluginclass/cbactivity?action=notifications)
For some profiles, and that's the weird part, only for SOME profiles, I get an error 500. In console:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
I put the site on debug mode but can't seem to figure out why. This is the response:
0 Call to undefined method CB\Plugin\Activity\Table\NotificationTable::getPage()
Call stack
# Function Location
1 () JROOT/components/com_comprofiler/plugin/user/plug_cbactivity/library/Helper/HtmlHelper.php:1025
2 CB\Plugin\Activity\Helper\HtmlHelper::getPage() JROOT/components/com_comprofiler/plugin/user/plug_cbactivity/templates/default/notifications/container.php:31
3 require() JROOT/components/com_comprofiler/plugin/user/plug_cbactivity/templates/default/notifications/rows.php:23
4 require() JROOT/components/com_comprofiler/plugin/user/plug_cbactivity/templates/default/notifications/modal.php:38
5 require() JROOT/components/com_comprofiler/plugin/user/plug_cbactivity/library/Controller/NotificationsController.php:232
6 CB\Plugin\Activity\Controller\NotificationsController->show() JROOT/components/com_comprofiler/plugin/user/plug_cbactivity/library/Controller/NotificationsController.php:124
7 CB\Plugin\Activity\Controller\NotificationsController->modal() JROOT/components/com_comprofiler/plugin/user/plug_cbactivity/component.cbactivity.php:272
8 CBplug_cbactivity->getCBpluginComponent() JROOT/libraries/CBLib/CB/Legacy/cbPluginHandler.php:879
9 cbPluginHandler->call() JROOT/libraries/CBLib/CB/Legacy/cbTabs.php:1611
10 cbTabs->_callTabPlugin() JROOT/libraries/CBLib/CB/Legacy/cbTabs.php:1725
11 cbTabs->tabClassPluginTabs() JROOT/components/com_comprofiler/comprofiler.php:732
12 tabClass() JROOT/components/com_comprofiler/comprofiler.php:284
13 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
14 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
15 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
16 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:208
17 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:249
18 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
19 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
20 require_once() JROOT/index.php:32
Again this is only for some profiles.
- I have the default template
- no changes to any of the CB code.
In trying to distinguish why some yes and some no, it seems that the ones not displaying have a longer list of notifications, but I can't be sure. The ones that did work mostly had a handful of notifications, though there was one that had quite a few.
Any help is appreciated.
Thank you,
Tomás