Author Topic: [DUPLICATE] Fatal error trying to see items  (Read 4062 times)

rychm

  • Beginner
  • *
  • Posts: 1
[DUPLICATE] Fatal error trying to see items
« 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)

Code: [Select]
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:

Code: [Select]
...
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

  • Full Member
  • ***
  • Posts: 968
    • PlainlyCode
Re: Fatal error trying to see items
« Reply #1 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