The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Problem When Posting Thread
I get this errors when I create new thread in the forum also when I open any thread
Any solutions? |
#2
|
|||
|
|||
You have a plugin that is using a deprecated function, so it's causing a warning. Are you running vb4.2.3?
You could turn off the display of messages in the php ini file, if you have access to that. To be honest I'm not quite sure what's going on with warnings right now. vb4.2.2 had a way to turn them all off, but I think with vb4.2.3 you're back to using the php setting to turn them off. The other way, of course, would be to figure out which plugin it is and fix it, or ask for a fix in the mod thread. (Just to be clear, it's not actually 'broken', if you can stop the message from appearing it should work fine, so maybe fix is the wrong word to use). |
#3
|
|||
|
|||
Quote:
Btw it's plugin I downloaded from vb.org called "product-hidelinksfromguest.xml" |
#4
|
|||
|
|||
Oh, BTW, I just happened to notice that under the "Plugin/Hook System" section in the settings, there's an option to turn off display of messages, specifically for plugins that are generating waarnings. But as it says in the description, it would be better to fix the issue if possible.
|
#5
|
|||
|
|||
Hey I have another error, I've tried to disable all the plugins but it's still there, it's when I click in "new usergroup messages" it give me these errors.
|
#6
|
|||
|
|||
Yeah, that's a minor issue with that version. You can fix it by editing the code in packages/vbforum/item, in socialgroupmessage.php and socialgroupdiscussion.php. In both cases you want to find this:
Code:
protected function getLoadQuery($required_query = null, $force_rebuild = false) and add the '= null' (in red above). If you have php 5.4 or later you could also upgrade to vb4.2.3 (but of course there's always a little risk with upgrading). |
#7
|
|||
|
|||
Quote:
Code:
protected function getLoadQuery($required_query = self::QUERY_BASIC, $force_rebuild = false) http://prntscr.com/7rfzmv EDIT: I found a fix for this issue in google So in class_core.php locate lines 5683-5685 Code:
case E_NOTICE: // Just ignore these completely // break; Code:
case E_NOTICE: case E_STRICT; case E_DEPRECATED; // Just ignore these completely // break; |
#8
|
|||
|
|||
Quote:
Code:
protected function getLoadQuery($required_query, $force_rebuild = false) but in any case you found a fix, and that one will take care of any other warnings that you might have. |
#9
|
|||
|
|||
I just checked those 2 files on vBulletin 4.2.3. Both are:
Code:
protected function getLoadQuery($required_query = self::QUERY_BASIC, $force_rebuild = false) Code:
protected function getLoadQuery($required_query, $force_rebuild = false) |
#10
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|