1. BERGER Vincent
  2. Bug report
  3. Wednesday, 08 February 2023
  4.  Subscribe via email
Hi,

When error reporting is turned on, CB integration is activated and avatar is set to CB there are warnings produced in the ajax fetch of the user avatar.

The problem is that there is no check to see if $avatars[$key] exists. This produces warnings and thus breaking the json returned by the ajax call.

To fix change line 50 in com_hotspots/models/users.php to :


$users[$key]->avatar = ( isset($avatars[$key]) ) ? $avatars[$key] : '';


Kind regards,
Tom
You do not have permission to view the content of this accepted answer and replies.
Responses (1)


There are %s replies to this question. If you want to see them you need a valid subscription.
If you have a valid subscription, please login now.
Visit store now

Last questions

Text size in the comment input form
Hello. How can I increase the font size in the comment input field? For examp...
0 Replies
Posted on Wednesday, 26 February 2025
  • #CComment 6
Problem with enlarged image
Hello. When you click on the image in the comments, it does not appear in the ce...
1 Replies
Posted on Wednesday, 26 February 2025
Black square instead of images in comments
Hello. In comments instead of images I see black squares. Here is an example. h...
0 Replies
Posted on Wednesday, 26 February 2025
  • #ccoment pro
Link bug in comment emails
Hello. The site has three languages. For example, a user left a comment on an a...
3 Replies
Posted on Saturday, 15 April 2023
Unable to activate account created during purchase
I purchased CMigrator on compojoom.com but I can't download it. It's not possibl...
0 Replies
Posted on Wednesday, 26 February 2025