The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
[MYSQL] error: Call to a member function fetch_array()
I'm trying o make this modification Threads notifications work with VB4
and get this error PHP Code:
follwing this error found this PHP Code:
following the notifications_list hook in this modification found this EDITED BY BOP5 PHP Code:
I dont' know where is the error , and how to solve it is this mysql functions is not working with VB4 ? |
#2
|
||||
|
||||
The problem is with the line:
Code:
while($notifications_ids = $db->fetch_array($notifications_get)) and make sure you've made $vbulletin global in the plugin by calling: Code:
global $vbulletin; While you are allowed up update a mod for personal use, please do not post any additional full plugins from the mod- the code is copyright from the original author and he did not give permission to re-use the code. Only the most minimal code necessary to answer a specific question should be posted in the future. |
#3
|
|||
|
|||
thanks alot sir and sorry for that miss
the error has gone >>> but nothing appear for seeing the modification is working, I think the problem is in the templates I need an reference for how to convert the templates form vb3 to vb4 |
#4
|
||||
|
||||
Check out this article:
https://vborg.vbsupport.ru/showthread.php?t=228078 There are quite a few changes in both template syntax and how templates are called in plugins. This wasn't going to be something you can upgrade with a couple of lines edited. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|