Skip to Content Skip to Menu

CB Gallery 0 Call to a member function getAsset() on null

  • XBOOMX
  • XBOOMX
  • ONLINE
  • Posts: 139
  • Thanks: 13
  • Karma: 0
11 hours 59 minutes ago - 11 hours 56 minutes ago #342453 by XBOOMX
CB Gallery
First of all, a big thumbs up for the update. Unfortunately, I'm getting an error message when I try to like something. Specifically, I open my own gallery, select a picture, and try to like it. The error message is:

0
Call to a member function getAsset() on null

Commenting and sharing work perfectly.

Joomla 5.4.0
PHP: 8.4
Gallery: 3.0.1+build.2025.11.19.15.24.48.0369ec0fb
Attachments:
Last edit: 11 hours 56 minutes ago by XBOOMX.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 49757
  • Thanks: 8507
  • Karma: 1465
11 hours 54 minutes ago #342454 by krileon
Enable debug mode and maximum error reporting then retry and provide the full callstack of the error if possible so that I can see where that's coming from exactly. Given the location it's possible it's the CB Activity integration.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • XBOOMX
  • XBOOMX
  • ONLINE
  • Posts: 139
  • Thanks: 13
  • Karma: 0
11 hours 23 minutes ago #342455 by XBOOMX
Warning: Undefined array key "folder" in /www/htdocs/w00972a0/xxxxxxx.community/components/com_comprofiler/plugin/user/plug_cbgallery/library/Helper/GalleryHelper.php on line 221

In debug mode and maximum error display, this is shown at the top of my profile page. I can click on the gallery, but the page remains slightly dimmed. If I click anywhere else, the page works normally, but I don't see the gallery; instead, it jumps to my own activity stream below the profile page.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum