Notice: Undefined property: stdClass::$id in /home/bluegreyarmy/public_html/new/plugins/content/admirorgallery/admirorgallery.php on line 68
line 68 of that file is:
Code: Select all
$AG->articleID = $row->id;Thanks,
Phil
admirorgallery.php errorHi all just upgraded to joomla 3.2.2 and gallery 5.0 my other galleries seem to be working properly but i am getting this error in one of my modules.
Notice: Undefined property: stdClass::$id in /home/bluegreyarmy/public_html/new/plugins/content/admirorgallery/admirorgallery.php on line 68 line 68 of that file is: Code: Select all Thanks, Phil
Re: admirorgallery.php errorThe module doesn't provide $row->id;.
You see when you use gallery in the article $row is actually and article object and it has it's ID ($row->id;) In module case, $row is some other object (wonderful Joomla, doing things wrong) thus you get the error One fix would be to ad a check: Code: Select all Help Admiror Gallery become even better,
give us a review on JED Re: admirorgallery.php errorI added the code you posted and I am still getting the same error message. Please advise
Re: admirorgallery.php errorDo you have another suggestion for this? The code you provided did not remove the error.
Thanks Phil
Re: admirorgallery.php errorCan you post your file so I could check?
In the meantime, remove that part of code and just set : Code: Select all Help Admiror Gallery become even better,
give us a review on JED Re: admirorgallery.php errorwell i thought i posted the file but i guess i forgot so here it is
Re: admirorgallery.php errorAre you sure that you receive the same error again?
I just checked with original admirorgallery.php and I can see the error: Notice: Undefined property: stdClass::$id in /opt/lampp/htdocs/joomla323/plugins/content/admirorgallery/admirorgallery.php on line 69 When I used the file you sent, there is no Notice. So you did add the fix correctly. Can you please check again? Help Admiror Gallery become even better,
give us a review on JED Re: admirorgallery.php errorI will try it again I see your error was on line 69 and mine was line 68. I will let you know the results
Re: admirorgallery.php errorIt is the same code, I just added a debug print so the line was pushed to 69
Help Admiror Gallery become even better,
give us a review on JED Re: admirorgallery.php errorI re-uploaded the file and the error is gone. Not sure what I did wrong the first time.
Thanks For the Awesome Support!!!! |
This is the official Admiror Joomla! Community Forum. You are welcome to join the Admiror Joomla! Community. All Admiror Joomla! Extensions Users, Joomla! Developers, PHP or mySQL Developers are welcome to support & contribute to Admiror Joomla! Projects.
Joomla! is a free and open source content management system (CMS) for publishing content on the World Wide Web and intranets. With a vibrant volunteer community, user-friendly features and plenty of power, Joomla is perfect for your website!
Joomla! is written in PHP, uses object-oriented programming (OOP) techniques and software patterns, stores data in a MySQL database, and includes features such as page caching, RSS feeds, printable versions of pages, news flashes, blogs, polls, search, and support for language internationalization.
Joomla! is the property of Open Source Matters, Inc. All rights reserved. Read more about Joomla! at http://www.joomla.org/.