Skip to Content Skip to Menu

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

  • XBOOMX
  • XBOOMX
  • OFFLINE
  • Posts: 139
  • Thanks: 13
  • Karma: 0
2 days 18 minutes ago - 2 days 14 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: 2 days 14 minutes ago by XBOOMX.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49771
  • Thanks: 8509
  • Karma: 1465
2 days 13 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
  • OFFLINE
  • Posts: 139
  • Thanks: 13
  • Karma: 0
1 day 23 hours 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.

  • krileon
  • krileon
  • ONLINE
  • Posts: 49771
  • Thanks: 8509
  • Karma: 1465
1 day 4 hours ago #342458 by krileon
That's not the same issue as the modal window, but will fix that as well. Are you seeing any further details when viewing a modal window when getting the getAsset error?


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.

  • krileon
  • krileon
  • ONLINE
  • Posts: 49771
  • Thanks: 8509
  • Karma: 1465
1 day 2 hours ago #342465 by krileon
Ok, a new build release is now available fixing the undefined folder issue, but I don't have a solution for your getAsset issue. If possible please re-test and check if the modal window still outputs that and if the callstack trace is now available so we can see where that's coming from.


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.

Moderators: beatnantkrileon
Powered by Kunena Forum