Open yanncharlou opened 13 years ago
Using of dump for the first time overwrite the current JDatabase query.
Example :
$this->_db->setQuery($query); dump($var;'myVar'); $this->_db->query($query); $item = $this->_db->loadObject();
Item returned is an object regarding com_dump row in joomla database. Maybe loaded by Joomla Core for initialise plugin and component.
Workaround : Use dump() at least one time before.
Using of dump for the first time overwrite the current JDatabase query.
Example :
$this->_db->setQuery($query); dump($var;'myVar'); $this->_db->query($query); $item = $this->_db->loadObject();
Item returned is an object regarding com_dump row in joomla database. Maybe loaded by Joomla Core for initialise plugin and component.
Workaround : Use dump() at least one time before.