View Full Version : error when i try to create a new thread
diridam
07-22-2008, 07:45 PM
Warning: Invalid argument supplied for foreach() in [path]/includes/functions_editor.php on line 680
anyone knows what is this from ?
thanks
theOZer
07-22-2008, 08:12 PM
Have you recently installed a new mod/hack? Maybe that's what's causing this.
diridam
07-22-2008, 08:29 PM
Nope, just upgraded to 3.7.2 PL 1.
theOZer
07-22-2008, 08:34 PM
This thread on vB.com is still 'In Progress' but maybe if you follow it it might help you:
http://www.vbulletin.com/forum/showthread.php?t=279429&highlight=Invalid+argument+supplied+foreach%28%29
Opserty
07-22-2008, 08:50 PM
This thread on vB.com is still 'In Progress' but maybe if you follow it it might help you:
http://www.vbulletin.com/forum/showthread.php?t=279429&highlight=Invalid+argument+supplied+foreach%28%29
That is a different error (one which relates to a modification or something).
diridam
07-22-2008, 09:03 PM
yes, that is a different error.
this one has something to do with custom bbcode.
i found that around line 680 is something about the editor:
// ################################################## ###########################
/**
* Returns the extra buttons as defined by the bbcode editor
*
* @param string ID of the editor of which these buttons will be a part
* @param boolean Set to false to disable custom bbcode buttons
*
* @return string Extra buttons HTML
*/
function construct_editor_extra_buttons($editorid, $allow_custom_bbcode = true)
{
global $vbphrase, $vbulletin;
$extrabuttons = '';
if ($allow_custom_bbcode)
{
foreach ($vbulletin->bbcodecache AS $bbcode)
i don't know what to do further
Opserty
07-22-2008, 09:08 PM
Try editing and resaving a custom BBCode? Maybe that will refresh the cache?
I don't have my own Copy of vB with me at the moment so I can only offer limit help.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.