Joomla 5 Notice

We are pleased to announce that as of January 29, 2024, all of our Joomla extensions are compatible with Joomla 5.

For all who are still updateing from Joomla 3 to Joomla 4: Joomla 4 Migration instructions are available here:

There is now a separate Documentation for Visforms for Joomla 4 and for Visforms for Joomla 5!

Forum

Visforms Subscription user can ask questions in our forum. Please log in with the relevant user first.
Everybody can access the forum for reading.

Please only ask 1 question per topic.

undefined property: stdClass...help...

More
9 years 3 months ago - 9 years 3 months ago #1127 by CrazyYoda
undefined property: stdClass...help... was created by CrazyYoda
Erstens kann ich nicht Deutsch sprechen , so verzeihen die schlechte Übersetzung .

Ich bin mit dem Formen -Erweiterung, die Sie bereitstellen. Aber ich habe ein Problem , wenn ich versuche, eine Auswahlbox Artikel nutzen . Hier ist die folgende Fehlermeldung erhalte ich :
Code:
Notice: Undefined property: stdClass :: $ listitemlabel in C: \ xampp \ htdocs \ joomla30 \ administrator \ components \ com_visforms \ Helfer \ html \ visforms.php on line 505

Hier ist der Code :
Code:
$ returnopts [] = array (' id ' => $ optional > ListItemId , "Wert" => $ optional > listitemvalue , 'label' => $ optional > listitemlabel , "ausgewählt" => $ ausgewählt );

Im Moment habe ich diese auf meinem lokalen Computer , damit ich nicht online haben sie als der noch . Könnten Sie mir bitte helfen, dieses Problem zu lösen .

Vielen Dank im Voraus.

ENGLISH:

First, I cannot speak German, so forgive for the bad translation.

I am using the forms extension that you provide. However, I am having an issue when I try to use a select box item. Here is the following error I receive:
Code:
Notice: Undefined property: stdClass::$listitemlabel in C:\xampp\htdocs\joomla30\administrator\components\com_visforms\helpers\html\visforms.php on line 505

Here is the code:
Code:
$returnopts[] = array( 'id' => $option->listitemid, 'value' => $option->listitemvalue, 'label' => $option->listitemlabel, 'selected' => $selected);

I currently have this on my local computer so I do not have it online as of yet. Could you please help me solve this problem.

Thanks in advance.
Last edit: 9 years 3 months ago by CrazyYoda.

More
9 years 3 months ago #1129 by Administrator AV
Replied by Administrator AV on topic undefined property: stdClass...help...
Hi CrazyYoda,

I was out of office during the Christmas and New Year holidays.
I made an announcement about that, which you may not have read, but that's the reason, why you did not get an answer yet.

There is no need to use German translations in this forum.

What's your Joomla! Version and your php Version?

Did you update from a former Visforms version to Visforms 3.2 or is Visforms 3.2 the first Visforms version you have installed?
Could you make an export of the tables #__visforms, #__visfields (and the datatables #__visforms_n and #__visforms_n_save, where n is an integer number, if you have enabled the save result option) into a file and mail this one to me (contact@vi-solutions.de).

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 :-).

More
3 years 1 month ago #7291 by MaliRaj
Hallo Aicha, hab sehr lange gezögert, doch heute nun habe ich die vfsubscription_j3.9.0_3.5.2 und visforms_j3.9.0_3.14.2 installiert. Sind ja tolle neue Funktionen bei!
Im Entwicklermodus kommen nun aber Hinweise wie:
Notice
: Undefined property: stdClass::$displaysublayout in /.../components/com_visforms/models/visforms.php on line 589
PHP-Version war 7.3, Umstellung auf höhere Version brachte keine Veränderung. Habe ich da ein fehlerhaftes System und muss handeln? Oder erledigt sich das in einem neuen Release von selbst?

Freundliche Grüße aus PM
Heinz

More
3 years 1 month ago #7292 by Administrator AV
Replied by Administrator AV on topic Undefined property: stdClass::$displaysublayout
Hallo Hans,
mit dem Update sind neue Optionen zum Formular hinzu gekommen.
Unter anderem das displaysublayout.
Während des Updates sollten diese Optionen allerdings mit passenden Werten gesetzt worden sein.
Wenn es hier einen Fehler gegeben hat, dann sollte dieser in der visforms_update.php im logs Verzeichnis gelogged sein.
Unable to update form layout settings for form...

Steht da bei dir so etwas?

Bitte versuche mal, ob die Meldung verschwindet, wenn du das Formular in der Administration einfach noch mal speicherst.
Wenn das nichts nutzt, muss ich noch mal in den Code schauen.

Ist das Layout im Frontend denn "zerbrochen" nach dem Update?

Gruß,
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 :-).

More
3 years 1 month ago #7293 by MaliRaj
Hmm, also das Formular selbst (habs erst bei einem getestet) sieht wie immer aus, funktioniert auch. Ein nochmaliges Speichern brachte (nach Cache löschen) keinen Erfol. Einen Fehlereintrag konnte ich nicht finden. Hier der Inhalt der visforms_update.php:
This message contains confidential information

Freundliche Grüße aus PM
Heinz

More
3 years 1 month ago #7301 by Administrator AV
Replied by Administrator AV on topic Undefined property: stdClass::$displaysublayout
Hallo,
magst du mir die visforms_update.php aus dem logs Verzeichnis vielleicht an contact@vi-solutions.de mailen?

Wenn im Frontend alles weiter funktioniert, dann ist die Meldung nicht problematisch.
Auf produktiven Systemen stellt man ja auch nicht den Entwicklermodus ein :-)
Und Warnings und Notices haben ja nur den Sinn den Entwickler zu informieren.

Ich würde dem allerings trotzdem gerne weiter nachgehen.

Kannst du mir vielleicht sagen, welches Formularlayout/Layout Framework du verwendest (auf dem Reiter "Erweitert" in der Formularkonfiguration).

Gruß,
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 :-).

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum