Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Fatal error: Call to a member function on a non-object in /XXX/components/com_comprofiler/plugin/user/plug_g2bridge/g2bridge.php on line 184
$searchResults = array();
while ($result = $results->nextResult()) {
$itemId = (int)$result[0];
list($ret, $item) = GalleryCoreApi::loadEntitiesById($itemId);
$fields = array();
$title = $item->getTitle() ? $item->getTitle() : $item->getPathComponent();
$fields = preg_replace('/\r\n/', ' ', $title);
list (, $fields) = GalleryCoreApi::fetchItemViewCount($itemId);
list(,$thumbs) = GalleryCoreApi::fetchThumbnailsByItemIds(array($itemId));
$fields = $urlGenerator->generateUrl(array('view' => 'core.ShowItem', 'itemId' => $thumbs[$itemId]->getderivativeSourceId()));
$fields = $urlGenerator->generateUrl(array('view' => 'core.DownloadItem', 'itemId' => $thumbs[$itemId]->getId()));
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Hello,
I have installed gallery2
and the bridge for joomla
and community builder of course
created one gallery for my account,
and the cb plugin for embed gallery2 is installed too
but when I register in cb and go in my profile I have this error
Fatal error: Call to a member function on a non-object in d:\program files\easyphp1-8\www\chezmoi\components\com_comprofiler\plugin\user\plug_g2bridge\g2bridge.php on line 160
the code in line 160 is
159 list ($ret, $results) = $gallery->search($countQuery, $data);
160 if ($ret->isError()) {
161 /* error reporting, use cb style but have to 162 read it first */
163 return false;
164 }
Can you help me with this ? I have no clue..
Please Log in or Create an account to join the conversation.