@Xon can you help with this, please?@Stuart Wright I am experiencing an error like this, and I'm not sure if it is related to your add-on or not.
View attachment 288601
Server error log
- TypeError: mb_strtolower(): Argument #1 ($string) must be of type string, array given
- src/vendor/dokuwiki/utf8/utf8.php:334
- Generated by:
- 15 July 2023 at 6:08 PM
Stack trace
#0 src/vendor/dokuwiki/utf8/utf8.php(334): mb_strtolower(Array, 'utf-8')
#1 src/XF/Repository/Tag.php(19): utf8_strtolower(Array)
#2 src/XF/Repository/Tag.php(208): XF\Repository\Tag->normalizeTag(Array)
#3 src/addons/AVForums/TagEssentials/XF/Service/Tag/Changer.php(52): XF\Repository\Tag->getTags(Array, Array)
#4 src/addons/AVForums/TagEssentials/XF/Service/Thread/Creator.php(115): AVForums\TagEssentials\XF\Service\Tag\Changer->_addTags(Array)
#5 src/addons/Snog/Movies/XF/Service/Thread/Creator.php(9): AVForums\TagEssentials\XF\Service\Thread\Creator->finalSetup()
#6 src/addons/Snog/TV/XF/Service/Thread/Creator.php(9): Snog\Movies\XF\Service\Thread\Creator->finalSetup()
#7 src/XF/Service/Thread/Creator.php(446): Snog\TV\XF\Service\Thread\Creator->finalSetup()
#8 src/addons/OzzModz/ScheduledContent/XF/Service/Thread/Creator.php(14): XF\Service\Thread\Creator->_validate()
#9 src/addons/SV/Threadmarks/XF/Service/Thread/Creator.php(87): OzzModz\ScheduledContent\XF\Service\Thread\Creator->_validate()
#10 src/XF/Service/ValidateAndSavableTrait.php(19): SV\Threadmarks\XF\Service\Thread\Creator->_validate()
#11 src/XF/Pub/Controller/Forum.php(901): XF\Service\Thread\Creator->validate(NULL)
#12 src/addons/AVForums/TagEssentials/XF/Pub/Controller/Forum.php(24): XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#13 src/addons/Snog/Movies/XF/Pub/Controller/Forum.php(25): AVForums\TagEssentials\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#14 src/addons/Snog/TV/XF/Pub/Controller/Forum.php(93): Snog\Movies\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#15 src/addons/Truonglv/Groups/XF/Pub/Controller/Forum.php(112): Snog\TV\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#16 src/addons/SV/Threadmarks/XF/Pub/Controller/Forum.php(145): Truonglv\Groups\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#17 src/XF/Mvc/Dispatcher.php(352): SV\Threadmarks\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#18 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Forum', 'PostThread', Object(XF\Mvc\RouteMatch), Object(SV\RedisCache\XF\Pub\Controller\Forum), NULL)
#19 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\RedisCache\XF\Pub\Controller\Forum), NULL)
#20 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#21 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#22 src/XF.php(524): XF\App->run()
#23 index.php(20): XF::runApp('XF\\Pub\\App')
#24 {main}
What is dokuwiki?
@Stuart Wright I am experiencing an error like this, and I'm not sure if it is related to your add-on or not.
View attachment 288601
Server error log
- TypeError: mb_strtolower(): Argument #1 ($string) must be of type string, array given
- src/vendor/dokuwiki/utf8/utf8.php:334
- Generated by:
- 15 July 2023 at 6:08 PM
Stack trace
#0 src/vendor/dokuwiki/utf8/utf8.php(334): mb_strtolower(Array, 'utf-8')
#1 src/XF/Repository/Tag.php(19): utf8_strtolower(Array)
#2 src/XF/Repository/Tag.php(208): XF\Repository\Tag->normalizeTag(Array)
#3 src/addons/AVForums/TagEssentials/XF/Service/Tag/Changer.php(52): XF\Repository\Tag->getTags(Array, Array)
#4 src/addons/AVForums/TagEssentials/XF/Service/Thread/Creator.php(115): AVForums\TagEssentials\XF\Service\Tag\Changer->_addTags(Array)
#5 src/addons/Snog/Movies/XF/Service/Thread/Creator.php(9): AVForums\TagEssentials\XF\Service\Thread\Creator->finalSetup()
#6 src/addons/Snog/TV/XF/Service/Thread/Creator.php(9): Snog\Movies\XF\Service\Thread\Creator->finalSetup()
#7 src/XF/Service/Thread/Creator.php(446): Snog\TV\XF\Service\Thread\Creator->finalSetup()
#8 src/addons/OzzModz/ScheduledContent/XF/Service/Thread/Creator.php(14): XF\Service\Thread\Creator->_validate()
#9 src/addons/SV/Threadmarks/XF/Service/Thread/Creator.php(87): OzzModz\ScheduledContent\XF\Service\Thread\Creator->_validate()
#10 src/XF/Service/ValidateAndSavableTrait.php(19): SV\Threadmarks\XF\Service\Thread\Creator->_validate()
#11 src/XF/Pub/Controller/Forum.php(901): XF\Service\Thread\Creator->validate(NULL)
#12 src/addons/AVForums/TagEssentials/XF/Pub/Controller/Forum.php(24): XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#13 src/addons/Snog/Movies/XF/Pub/Controller/Forum.php(25): AVForums\TagEssentials\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#14 src/addons/Snog/TV/XF/Pub/Controller/Forum.php(93): Snog\Movies\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#15 src/addons/Truonglv/Groups/XF/Pub/Controller/Forum.php(112): Snog\TV\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#16 src/addons/SV/Threadmarks/XF/Pub/Controller/Forum.php(145): Truonglv\Groups\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#17 src/XF/Mvc/Dispatcher.php(352): SV\Threadmarks\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#18 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Forum', 'PostThread', Object(XF\Mvc\RouteMatch), Object(SV\RedisCache\XF\Pub\Controller\Forum), NULL)
#19 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\RedisCache\XF\Pub\Controller\Forum), NULL)
#20 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#21 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#22 src/XF.php(524): XF\App->run()
#23 index.php(20): XF::runApp('XF\\Pub\\App')
#24 {main}
I'ld need to see the request blob which is under the stack trace to understand what is happending.@Xon can you help with this, please?
@hello2029 can you supply that, please, in a private conversation with me and @Xon?I'ld need to see the request blob which is under the stack trace to understand what is happending.
@hello2029 can you supply that, please, in a private conversation with me and @Xon?
[OzzModz] TMDb Movie Thread Starter and [OzzModz] TMDb TV Thread Starter addons creating threads without titles or post text was creating an error.
That's fixed.
Stuart Wright updated Tag Essentials - with AI auto tagging and XFRM support with a new update entry:
Fix error when a new thread is created with an empty thread title/message
Read the rest of this update entry...
You should just need a valid secret key, but even having an invalid one doesn't crash batch update (I just tried it).I’m pretty sure I did something. I got my open AI secret key. Do I need to download something else?
- Error: Class 'AVForums\OpenAIShared\OpenAI' not found
- src/addons/AVForums/TagEssentials/XF/Repository/Tag.php:1005
#0 src/addons/AVForums/TagEssentials/XF/Repository/Tag.php(439): AVForums\TagEssentials\XF\Repository\Tag->getOpenAI()
#1 src/addons/AVForums/TagEssentials/XF/Entity/Tag.php(166): AVForums\TagEssentials\XF\Repository\Tag->getAiDescriptionByTitle('sombody's watch...')
#2 src/XF/Mvc/Entity/Entity.php(1366): AVForums\TagEssentials\XF\Entity\Tag->_preSave()
#3 src/XF/Mvc/Entity/Entity.php(1219): XF\Mvc\Entity\Entity->preSave()
#4 src/XF/Mvc/Entity/Entity.php(1323): XF\Mvc\Entity\Entity->save(true, true)
#5 src/addons/AVForums/TagEssentials/Job/WikiFixup.php(36): XF\Mvc\Entity\Entity->saveIfChanged()
#6 src/XF/Job/AbstractRebuildJob.php(42): AVForums\TagEssentials\Job\WikiFixup->rebuildById(16)
#7 src/XF/Job/Manager.php(260): XF\Job\AbstractRebuildJob->run(8)
#8 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#9 src/XF/Job/Manager.php(118): XF\Job\Manager->runJobEntry(Array, 8)
#10 src/XF/Admin/Controller/Tools.php(122): XF\Job\Manager->runByIds(Array, 8)
#11 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#12 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#13 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#14 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#15 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#16 src/XF.php(524): XF\App->run()
#17 admin.php(13): XF::runApp('XF\\Admin\\App')
#18 {main}
Request state
array(4) {
["url"] => string(24) "/admin.php?tools/run-job"
["referrer"] => string(57) "https://www.example.com/admin.php?tools/run-job"
["_GET"] => array(1) {
["tools/run-job"] => string(0) ""
}
["_POST"] => array(3) {
["_xfRedirect"] => string(67) "https://www.example.com/admin.php?tools/rebuild&success=1"
["_xfToken"] => string(8) "********"
["only_ids"] => string(4) "4713"
}
}
I rebuilt Emory wiki tags. Did it out of curiosity.You should just need a valid secret key, but even having an invalid one doesn't crash batch update (I just tried it).
You can't batch update tags with AI, anyway, so it shouldn't be trying to use OpenAI.
It looks like you were running a batch update, but there shouldn't ever be errors.
I just batch updated 700 threads to auto tag (using the title system) without any problems.
Can you say exactly what you did?
What is Emory?I rebuilt Emory wiki tags. Did it out of curiosity.
Sorry I meant empty wiki tags.What is Emory?
The last build missed this file, should have a fixed build out soon.Error: Class 'AVForums\OpenAIShared\OpenAI' not found
Restored missing OpenAI elements
POST https://api.openai.com/v1/chat/completions
resulted in a 429 Too Many Requests
response: { "error": { "message": "You exceeded your current quota, please check your plan and billing details.", (truncated...) Are you running the latest version 2.5.1.1?Thanks for the update. Now I'm getting this one. Any ideas? Thanks
- GuzzleHttp\Exception\ClientException: OpenAI connection error: Client error:
POST https://api.openai.com/v1/chat/completions
resulted in a429 Too Many Requests
response: { "error": { "message": "You exceeded your current quota, please check your plan and billing details.", (truncated...)- src/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
- Generated by:
- Jul 17, 2023 at 3:25 PM
Stack trace
#0 src/vendor/guzzlehttp/guzzle/src/Middleware.php(65): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response))
#1 src/vendor/guzzlehttp/promises/src/Promise.php(204): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response))
#2 src/vendor/guzzlehttp/promises/src/Promise.php(153): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), NULL)
#3 src/vendor/guzzlehttp/promises/src/TaskQueue.php(48): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
#4 src/vendor/guzzlehttp/promises/src/Promise.php(248): GuzzleHttp\Promise\TaskQueue->run(true)
#5 src/vendor/guzzlehttp/promises/src/Promise.php(224): GuzzleHttp\Promise\Promise->invokeWaitFn()
#6 src/vendor/guzzlehttp/promises/src/Promise.php(269): GuzzleHttp\Promise\Promise->waitIfPending()
#7 src/vendor/guzzlehttp/promises/src/Promise.php(226): GuzzleHttp\Promise\Promise->invokeWaitList()
#8 src/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending()
#9 src/vendor/guzzlehttp/guzzle/src/Client.php(182): GuzzleHttp\Promise\Promise->wait()
#10 src/vendor/guzzlehttp/guzzle/src/Client.php(95): GuzzleHttp\Client->request('post', 'https://api.ope...', Array)
#11 src/addons/AVForums/OpenAIShared/OpenAI.php(40): GuzzleHttp\Client->__call('post', Array)
#12 src/addons/AVForums/TagEssentials/XF/Repository/Tag.php(446): AVForums\OpenAIShared\OpenAI->chat(Array)
#13 src/addons/AVForums/TagEssentials/XF/Entity/Tag.php(166): AVForums\TagEssentials\XF\Repository\Tag->getAiDescriptionByTitle('running up thst...')
#14 src/XF/Mvc/Entity/Entity.php(1366): AVForums\TagEssentials\XF\Entity\Tag->_preSave()
#15 src/XF/Mvc/Entity/Entity.php(1219): XF\Mvc\Entity\Entity->preSave()
#16 src/XF/Mvc/Entity/Entity.php(1323): XF\Mvc\Entity\Entity->save(true, true)
#17 src/addons/AVForums/TagEssentials/Job/WikiFixup.php(36): XF\Mvc\Entity\Entity->saveIfChanged()
#18 src/XF/Job/AbstractRebuildJob.php(42): AVForums\TagEssentials\Job\WikiFixup->rebuildById(99)
#19 src/XF/Job/Manager.php(260): XF\Job\AbstractRebuildJob->run(8)
#20 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#21 src/XF/Job/Manager.php(118): XF\Job\Manager->runJobEntry(Array, 8)
#22 src/XF/Admin/Controller/Tools.php(122): XF\Job\Manager->runByIds(Array, 8)
#23 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#24 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#25 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#26 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#27 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#28 src/XF.php(524): XF\App->run()
#29 admin.php(13): XF::runApp('XF\\Admin\\App')
#30 {main}
Request state
array(4) {
["url"] => string(24) "/admin.php?tools/run-job"
["referrer"] => string(127) "https://www.welovetheeighties.com/admin.php?tools/run-job&only_id=4723&_xfRedirect=/admin.php?tools/rebuild&success=1"
["_GET"] => array(1) {
["tools/run-job"] => string(0) ""
}
["_POST"] => array(3) {
["_xfRedirect"] => string(67) "https://www.welovetheeighties.com/admin.php?tools/rebuild&success=1"
["_xfToken"] => string(8) "********"
["only_ids"] => string(4) "4723"
}
}
Yes I am.Are you running the latest version 2.5.1.1?
We use essential cookies to make this site work, and optional cookies to enhance your experience.