Error while upgrading XenVn Addon

Error while upgrading XenVn Addon

dedsec

Well-Known Member

Vip Member
Reputation: 8%
Joined
13/7/24
Messages
54
I got this error while upgrading

XenVn Addon from 2.3.7 to 2.3.8. Help me to fix this issue.​

Screenshot 2025-08-28 at 9.59.11 AM.webp
 
Just upgraded with re-release version of 2.3.8 and got this:
  • XF\Db\Exception: Batch install error: xf_thread: MySQL query error [1138]: Invalid use of NULL value
  • src/XF/Db/AbstractStatement.php:230

Stack trace​

ALTER TABLE `xf_thread`
MODIFY COLUMN `suffix` TINYTEXT NOT NULL,
MODIFY COLUMN `image` TEXT NOT NULL,
MODIFY COLUMN `icon` TEXT NOT NULL,
MODIFY COLUMN `description` TEXT NOT NULL,
MODIFY COLUMN `dmca` TINYINT NOT NULL,
MODIFY COLUMN `scheduled` INT UNSIGNED NOT NULL
------------

#0 src/XF/Db/Mysqli/Statement.php(207): XF\Db\AbstractStatement->getException('MySQL query err...', 1138, '22004')
#1 src/XF/Db/Mysqli/Statement.php(83): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1138, '22004')
#2 src/XF/Db/AbstractAdapter.php(96): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/Schema/AbstractDdl.php(158): XF\Db\AbstractAdapter->query('ALTER TABLE `xf...')
#4 src/XF/Db/SchemaManager.php(157): XF\Db\Schema\AbstractDdl->apply()
#5 src/addons/XV/Setup.php(194): XF\Db\SchemaManager->alterTable('xf_thread', Object(Closure))
#6 src/XF/AddOn/StepRunnerUpgradeTrait.php(124): XV\Setup->upgrade2380Step2(Array)
#7 src/XF/AddOn/StepRunnerUpgradeTrait.php(73): XV\Setup->upgradeStepRunner(2380, 2, Array, NULL)
#8 src/XF/Job/AddOnInstallBatch.php(303): XV\Setup->upgrade(Array)
#9 src/XF/Job/AddOnInstallBatch.php(95): XF\Job\AddOnInstallBatch->stepAction(Object(XF\Timer))
#10 src/XF/Job/Manager.php(275): XF\Job\AddOnInstallBatch->run(8)
#11 src/XF/Job/Manager.php(205): XF\Job\Manager->runJobInternal(Array, 8)
#12 src/XF/Job/Manager.php(121): XF\Job\Manager->runJobEntry(Array, 8)
#13 src/XF/Admin/Controller/ToolsController.php(146): XF\Job\Manager->runByIds(Array, 8)
#14 src/XF/Mvc/Dispatcher.php(362): XF\Admin\Controller\ToolsController->actionRunJob(Object(XF\Mvc\ParameterBag))
#15 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(NF\Discord\XF\Admin\Controller\Tools), NULL)
#16 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(NF\Discord\XF\Admin\Controller\Tools), NULL)
#17 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#18 src/XF/App.php(2826): XF\Mvc\Dispatcher->run()
#19 src/XF.php(806): XF\App->run()
#20 admin.php(15): XF::runApp('XF\\Admin\\App')
#21 {main}
 
Similar threads Most view View more
Back
Top Bottom