VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Quality & Testing VirtueMart 1.1.x => Virtuemart 1.1 Development (Archiv) => Q&T Resolved => Topic started by: rychm on September 04, 2007, 18:07:55 PM

Title: [DUPLICATE] Fatal error trying to see items
Post by: rychm on September 04, 2007, 18:07:55 PM
I am trying to use Joomla 1.5 RC2 with VM 1.1 (4 Sept Nighty Build)
Ive got sample data added. 

Ive got following error when trying to list items in category from frontend (but not only then)


Fatal error: Call to a member function addItem() on a non-object in
D:\xampplite\htdocs\Joomla1.5RC2\libraries\joomla\application\application.php on line 793


Similar errors occured while trying to use Joomla RC1 with VM 1.1 and also with latest stable version VM 1.0.12. But with stable version it happened only sometimes.

The code when it happens looks like:

...
foreach( $matches AS $match) {
// Add each item to the pathway object
if( !$this->_pathway->addItem( $match[2], $match[1] ) ) {
return false;
}
}
...


Any ideas how to solve it?
Title: Re: Fatal error trying to see items
Post by: gregdev on September 04, 2007, 19:16:19 PM
This is a Joomla! problem. The Joomla! team fixed it in SVN. Please use the nightly build for testing J! 1.5 with VirtueMart 1.1.

Greg
Title: Re: Fatal error trying to see items
Post by: aravot on September 06, 2007, 22:09:22 PM
Duplicate -> http://forum.virtuemart.net/index.php?topic=31388.0