Seem to be getting an error on this with PHP 5.3:
PHP Fatal error: Cannot use object of type mysqli_result as array in /var/www/vhosts/URL/httpdocs/forum/forms.php on line 1242
Line 1242 is:
PHP Code:
$formbit['value'] = $q[$formbit[id]];
Everything I've read re that error relates to the query_read line a few lines up - whether vB or not vB:
PHP Code:
$formbits = $vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "formbits WHERE fid = $fid ORDER BY displayorder ASC"));
If I change this to :
PHP Code:
$formbits = $vbulletin->db->fetch_array($vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "formbits WHERE fid = $fid ORDER BY displayorder ASC"));
...I can get the page but not the actual form itself. Replacing all similar lines has no effect either. Anyone else had this, edited the forms.php file and got this working?