Jump to content

Undefined Property....please help.


CrazyYoda

Recommended Posts

First let me just say, I am by no means a coder. But I am trying to set up a website for a friend. 

 

I am no novice when it comes to the web design part, but I am one when it comes to PHP code.

 

That said, I have a joomla site on my local machine for the time being. I am using joomla for this site. Joomla wont help me with this problem. They refer me to the creator of the extension. 

 

Well, problem is, I have posted there and have not had any answer yet either. The problem is when I use a form component and ue the select box option. 

 

Anyway, the problem I am having is: 


Notice: Undefined property: stdClass::$listitemid in
C:\xampp\htdocs\joomla30\administrator\components\com_visforms\helpers\html\visforms.php on line 505

Notice: Undefined property: stdClass::$listitemvalue in
C:\xampp\htdocs\joomla30\administrator\components\com_visforms\helpers\html\visforms.php on line 505

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 I found there: 
 

 $returnopts[] = array( 'id' => $option->listitemid, 'value' => $option->listitemvalue, 'label' => $option->listitemlabel, 'selected' => $selected);

What is causing this problem? How can I fix this? 

Link to comment
https://forums.phpfreaks.com/topic/293534-undefined-propertyplease-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.