Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

[CLOSED]Notice: Undefined property: stdClass::$list 11 Nov 2012 13:24 #5272

  • MorganL
  • MorganL's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
Notice: Undefined property: stdClass::$list in F:\webs\dev.domain.info\administrator\components\com_xxxxx\views\users\tmpl\default_filters.php on line 113

In sandbox this works fine, but when I build, download and install into a vanilla J2.5 installation the above error comes up in my filters

They all seem to be a filter attached to a certain table.. which I am about to revisit, but the fact it all works in sandbox sent out alarm bells

Config choices

Jquery
Condensed
Maximum
No

Model
Max 40 seconds
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla

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

Last edit: by MorganL.

[CLOSED]Notice: Undefined property: stdClass::$list 11 Nov 2012 13:55 #5275

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
What's on line 110-113 of ...administrator\components\com_xxxxx\views\users\tmpl\default_filters.php ?

Do you have any other info in the message?

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!

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

[CLOSED]Notice: Undefined property: stdClass::$list 11 Nov 2012 14:06 #5277

  • MorganL
  • MorganL's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
<div class='filter filter_branch'>
<label class='filter' for="filter_branch"><?php echo(JText::_("XXXX_JSEARCH_BRANCH")); ?> :</label>
<?php echo JDom::_('html.form.input.select', array(
'dataKey' => 'filter_branch',
'dataValue' => (string)$this->filters->value,
'list' => $this->filters->list,
'labelKey' => '',
'nullLabel' => "XXXX_FILTER_NULL_BRANCH",
'submitEventName' => 'onchange'
));

?>
</div>


I have removed the filter for now as it is pretty much a 'improving quality of life, extra little touch' filter that is not essential for version one of the app.. mainly because additional branches is going to be introudced later, I will just building in all the code now
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla

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

Last edit: by MorganL.

[CLOSED]Notice: Undefined property: stdClass::$list 11 Nov 2012 14:09 #5278

  • MorganL
  • MorganL's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
A fix isnt essential, dont give it too much time.. but I just want admin to know that between Sandbox (working perfect), building and installing the component.. something has snapped on the filters
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla

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

[CLOSED]Notice: Undefined property: stdClass::$list 11 Nov 2012 14:10 #5279

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
I've not come across this one... Is the filter functioning properly despite the notice?

Just flagging for @admin...

G
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!

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

[CLOSED]Notice: Undefined property: stdClass::$list 11 Nov 2012 14:12 #5280

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
The main difference will be that you are not suppressing warning messages in your environment. That's all...

Providing that your filters are working ok, I wouldn't worry though.

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The following user(s) said Thank You: MorganL

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

[CLOSED]Notice: Undefined property: stdClass::$list 11 Nov 2012 14:29 #5281

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
It always worked good here.

You have a problem. labelKey is empty as well.

It means that you should have dropped the node, not the Label behind it.

I keep in opened tickets because it should at least load the list and display the id numer (fallback)
Coding is now a piece of cake
The following user(s) said Thank You: MorganL

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

[CLOSED]Notice: Undefined property: stdClass::$list 11 Nov 2012 15:01 #5282

  • MorganL
  • MorganL's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
OK I supressed errors and the message DID disappear.. nice

However even though I have created some branches, the filter list is empty on the downloaded component
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla

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

[CLOSED]Notice: Undefined property: stdClass::$list 11 Nov 2012 15:34 #5284

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
What kind of field are you using?
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!

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

[CLOSED]Notice: Undefined property: stdClass::$list 11 Nov 2012 15:43 #5285

  • MorganL
  • MorganL's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
OK

1) Surpressed errors
2) Removed table from Foregin key and readded
3) Made sure label and null value was set

Rebuilt, reinstalled, all seems OK
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla

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

[CLOSED]Notice: Undefined property: stdClass::$list 11 Nov 2012 15:45 #5286

  • MorganL
  • MorganL's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
um.. also code is COMPLETELY different

<div class='filter filter_branch'>
<label class='filter' for="filter_branch"><?php echo(JText::_("XXX_JSEARCH_BRANCH")); ?> :</label>
<?php
$filter = $this->filters;
echo JDom::_('html.form.input.ajax', array(
'dataKey' => 'filter_branch',
'dataValue' => $filter->values[0],
'ajaxContext' => 'xxx.branch.ajax.filter7',
'ajaxVars' => array('values' => $filter->values)
));
?>
</div>
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla

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

[CLOSED]Notice: Undefined property: stdClass::$list 11 Nov 2012 15:49 #5287

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
So all is well? Can I close this?

The change in the field could be due to you adding the ajax parameter in the filter - did you check that checkbox?

Thanks for posting!
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The following user(s) said Thank You: MorganL

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

[CLOSED]Notice: Undefined property: stdClass::$list 11 Nov 2012 16:01 #5288

  • MorganL
  • MorganL's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
happy to close
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla

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

[CLOSED]Notice: Undefined property: stdClass::$list 11 Nov 2012 16:36 #5292

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
Thanks!
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The following user(s) said Thank You: admin

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

  • Page:
  • 1
Time to create page: 0.157 seconds

Les générateurs de code je les connais presque tous pour les avoir essorés en long en large et en travers ... mais celui ci c'est vraiment un outil formidable de simplicité et d'efficacité !
Marc. (liubov - Forum)

Get Started