News:

Looking for documentation? Take a look on our wiki

Main Menu

[DUPLICATE] Fatal error trying to see items

Started by rychm, September 04, 2007, 18:07:55 PM

Previous topic - Next topic

rychm

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?

gregdev

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

[tr][td]
[/td][td]
www.plainlycode.com[/td][/tr]
[/table]