Joomla 5 Mitteilung

Wir freuen uns mitteilen zu können, dass seit dem 29. Januar 2024 alle unsere Joomla Erweiterungen mit Joomla 5 kompatible sind.

Für alle die gerade noch von Joomla 3 auf 4 aktualisieren: Anleitungen für die Joomla 4 Migration gibt es hier:

Es gibt nun auch eine eigenständige Dokumentation für Visforms für Joomla 4 und für Visforms auf Joomla 5

Forum

Visforms Subscription Inhaber können in unserem Forum Fragen stellen. Bitte mit dem entsprechenden Benutzer anmelden.
Jeder kann lesend auf das Forum zugreifen.

Bitte stellen Sie nur 1 Frage pro Thema.

Component error notice

Mehr
10 Jahre 6 Monate her #245 von jk1
Component error notice wurde erstellt von jk1
Hi,
I just updated spambotcheck to the latest version on one of my local test sites, after I noticed that a new version is available in the Joomla backend.

It's on Joomla 2.5.14 and php 5.3.1. Clicking on the spambotcheck component throws an error:

( ! ) Notice: Undefined index: 1 in ...\administrator\components\com_spambotcheck\models\users.php on line 436
Call Stack
# Time Memory Function Location
1 0.0007 331744 {main}( ) ..\index.php:0
2 0.2387 6010768 JAdministrator->dispatch( ) ..\index.php:46
3 0.2519 6405976 JComponentHelper::renderComponent( ) ..\application.php:153
4 0.2803 6422688 JComponentHelper::executeComponent( ) ..\helper.php:351
5 0.2815 6484552 require_once( '...\administrator\components\com_spambotcheck\spambotcheck.php' ) ..\helper.php:383
6 0.3083 6852528 JController->execute( ) ..\spambotcheck.php:44
7 0.3084 6852576 SpambotcheckController->display( ) ..\controller.php:761
8 0.3122 6915416 JController->display( ) ..\controller.php:50
9 0.3354 7753400 SpambotcheckViewUsers->display( ) ..\controller.php:722
10 0.3355 7753512 JView->get( ) ..\view.html.php:42
11 0.3355 7753632 SpambotcheckModelUsers->getItems( ) ..\view.php:386

( ! ) Notice: Trying to get property of non-object in ...\administrator\components\com_spambotcheck\models\users.php on line 436

Mehr
10 Jahre 6 Monate her #246 von Administrator AV
Administrator AV antwortete auf Re:Component error notice
Hi jk1,

thanks so much for that information. I just noticed, that I hadn't all "developer" messages enabled in php.ini on my develop system.

I will make an update, that will fix the error as soon as possilbe.
You can fix it yourself.

Open administrator/components/com_spambotcheck/models/users.php

Replace the content of line 436 which is

$item->group_count = $userGroups[$item->id]->group_count;

with

$item->group_count = $userGroups[$item->user_id]->group_count;

That should fix it.
Kind regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).

Mehr
10 Jahre 6 Monate her #249 von jk1
jk1 antwortete auf Re:Component error notice
Yes, it does fix that typo :)

Mehr
10 Jahre 6 Monate her #256 von Administrator AV
Administrator AV antwortete auf Aw: Re:Component error notice
Hi jk1,

I found some more warnings and made a new update. Did you see it in extensions->updates?

Does it work properly now?

Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum