Quote:
Originally Posted by reifegerste
Hi,
i get this error message if i activate the mod and go to the CMS Comments.
Fatal error: Call to a member function query_read() on a non-object in /var/www/web1/html/vbulletin/packages/vbcms/comments.php(693) : eval()'d code on line 15
Can anyone help me with this problem?
|
Quote:
Originally Posted by mobe00
I have the same problem here when i open a cms comment.
how do we fix that ?
|
Quote:
Originally Posted by paulbhoy
I also have this problem
|
Fixed it
Find the plugin "My Photo post bit".
Change the plugin code to :-
PHP Code:
$rec = vB::$db->query_read("
SELECT count(*) mark
FROM ".TABLE_PREFIX."vbimghost
WHERE userid='".$post['userid']."' and imgprivate='0'
");
$row = vB::$db->fetch_array($rec);
$post['vbimghost']=$row['mark'];
Basically the "$vbulletin->" is replaced with "vB::$"