Mobile app version of vmapp.org
Login or Join
Sent6035632

: 500 error on Joomla website PHP Fatal error: Call to a member function setQuery() on a non-object in /home/josh/public_html/administrator/components/com_jfusion/plugins/phpbb3/forum.php on line 226 Just

@Sent6035632

Posted in: #Error #HttpCode500 #Joomla #Php #Phpbb

PHP Fatal error: Call to a member function setQuery() on a non-object in /home/josh/public_html/administrator/components/com_jfusion/plugins/phpbb3/forum.php on line 226


Just moved over to a new server. Anyone have ideas as to what is wrong?

Is this a database issue?

line 226:

//get permissions for all forums in case more than one module/plugin is present with different settings
$db = & JFusionFactory::getDatabase($this->getJname());
$query = "SELECT forum_id FROM #__forums WHERE forum_type = 1 ORDER BY left_id";
$db->setQuery($query); //226
$forumids = $db->loadResultArray();

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Sent6035632

1 Comments

Sorted by latest first Latest Oldest Best

 

@Megan663

Please post the code which causes this error (line 226).

To try a shot in the dark you can check the cURL settings
See: Plugin Config in the JFusion Documentation Wiki.

It is also possible that you can not access the database or the database settings are incorrect.

See this screenshot about the database configuration in the JFusion Documentation Wiki.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme