我在这个网站上问的第一个问题,就这样。
对于那些愿意看到我们在这里工作的人来说。
所以,我,使用invision社区管理一个论坛,我进行了广泛的搜索(诚实地说,只使用google),但我还是尝试过。我们的主机是主机(根据我通过光研究收集到的信息,以及我在这个网站上与他们一起工作的经历,他们并不是最好的选择,但这正是我们所得到的)
我们最近做了一个更新(我相信从4.2到4.3 ),但是错误在我们进行更新之前就已经开始了。我收到的特别错误是关于这个错误的一个"EX0“最坏的部分,是不是它”似乎是孤立于更新的区域,它开始影响到所有的论坛。
这里有几个https://pastebin.com/xkkLyUb5错误的例子
InvalidArgumentException: (0)
#0 /home/xxxxxxxxxx/public_html/forums/system/Content/Search/Index.php(120): IPS\_Task::queue('core', 'IndexSingleItem', Array, 5, true)
#1 /home/xxxxxxxxxx/public_html/forums/system/Content/Item.php(2049): IPS\Content\Search\_Index->indexSingleItem(Object(IPS\forums\Topic))
#2 /home/xxxxxxxxxx/public_html/forums/applications/forums/sources/Topic/Topic.php(1091): IPS\Content\_Item->unhide(NULL)
#3 /home/xxxxxxxxxx/public_html/forums/applications/forums/sources/Topic/Topic.php(616): IPS\forums\_Topic->unhide(NULL)
#4 /home/xxxxxxxxxx/public_html/forums/applications/forums/sources/Topic/Topic.php(572): IPS\forums\_Topic->processAfterCreateOrEdit(Array)
#5 /home/xxxxxxxxxx/public_html/forums/applications/forums/modules/front/forums/topic.php(496): IPS\forums\_Topic->processAfterEdit(Array)
#6 /home/xxxxxxxxxx/public_html/forums/system/Dispatcher/Controller.php(85): IPS\forums\modules\front\forums\_topic->edit()
#7 /home/xxxxxxxxxx/public_html/forums/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
#8 /home/xxxxxxxxxx/public_html/forums/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute()
#9 /home/xxxxxxxxxx/public_html/forums/system/Dispatcher/Dispatcher.php(146): IPS\forums\modules\front\forums\_topic->execute()
#10 /home/xxxxxxxxxx/public_html/forums/index.php(13): IPS\_Dispatcher->run()
#11 {main}
Backtrace
#0 /home/xxxxxxxxxx/public_html/forums/init.php(537): IPS\_Log::log('InvalidArgument...', 'uncaught_except...')
#1 [internal function]: IPS\IPS::exceptionHandler(Object(InvalidArgumentException))
#2 {main}有些事情我试过了(可能认为或不相关,但还是没有用)
我几乎没有这方面的任何背景,但任何额外的信息,需要随时索取。
发布于 2019-03-27 19:36:34
这很可能是由于core应用程序中的扩展损坏造成的。
如果您查看函数queue in \IPS\Task (/system/Task/Task.php)
它具有以下条件,可以抛出InvalidArgumentException
try
{
$extensions = \IPS\Application::load( $app )->extensions( 'core', 'Queue', FALSE );
}
catch ( \OutOfRangeException $e )
{
throw new \InvalidArgumentException;
}
if ( !isset( $extensions[ $key ] ) )
{
throw new \InvalidArgumentException;
}这将尝试加载每个应用程序队列扩展(存储在/applications/APP_NAME/extensions/core/Queue中)。
如果由于任何原因,它无法加载其中的一个,或者指定的应用程序不存在提供的扩展,它将抛出此异常。
我会查看您的/applications/core/extensions/core/Queue目录中是否有任何损坏的队列扩展,并且可能会重新上传整个目录,以防它们中的一部分或全部丢失。
https://stackoverflow.com/questions/54355889
复制相似问题