Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/loops/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Plugins BIGINT无符号值超出范围错误(错误号:1690)_Plugins_Vbulletin - Fatal编程技术网

Plugins BIGINT无符号值超出范围错误(错误号:1690)

Plugins BIGINT无符号值超出范围错误(错误号:1690),plugins,vbulletin,Plugins,Vbulletin,当我尝试删除vBulletin 4中的线程时,出现此错误。这不是vBulletin问题,因为它是一个附加修改。下面是我正在使用的代码。比如说,如果他们在帖子中有15个单词,而我删除了该线程,那么即使删除的是15个单词,我也会得到错误,将他们的单词数设置回零,而不是负数 $threadinfo = fetch_threadinfo($threadid); $postinfo = fetch_postinfo($threadinfo['firstpostid']); $userdm =&

当我尝试删除vBulletin 4中的线程时,出现此错误。这不是vBulletin问题,因为它是一个附加修改。下面是我正在使用的代码。比如说,如果他们在帖子中有15个单词,而我删除了该线程,那么即使删除的是15个单词,我也会得到错误,将他们的单词数设置回零,而不是负数

$threadinfo = fetch_threadinfo($threadid); 
$postinfo = fetch_postinfo($threadinfo['firstpostid']); 
$userdm =& datamanager_init('User', $this->registry, ERRTYPE_SILENT); 
$userdm->set_existing($postinfo); 
$userdm->set('totalwords', 'totalwords - ' . str_word_count($postinfo['pagetext']), false); 
$userdm->save(); 
unset($userdm);
谁能告诉我我错过了什么

$threadinfo = fetch_threadinfo($threadid); 
$postinfo = fetch_postinfo($threadinfo['firstpostid']); 
$userdm =& datamanager_init('User', $this->registry, ERRTYPE_SILENT); 
$userdm->set_existing($postinfo); 
$userdm->set('totalwords', 'totalwords' - . str_word_count($postinfo['pagetext']),   false); 
$userdm->save(); 
unset($userdm);