Astronis Posted Friday at 09:23 PM Posted Friday at 09:23 PM (edited) While I was configuring my site's Ranks, I received a notification that a task was blocked. When I tried to run it again, the error below appeared; see the log below. TypeError: IPS\Http\Url::internal(): Argument #4 ($seoTitles) must be of type array|string, null given, called in /home/astronis/public_html/applications/cms/sources/Categories/Categories.php on line 1329 (0) #0 /home/astronis/public_html/applications/cms/sources/Categories/Categories.php(1329): IPS\Http\Url::internal('app=cms&module=...', 'front', 'content_page_pa...', NULL) #1 /home/astronis/public_html/applications/cms/extensions/core/Sitemap/Databases.php(200): IPS\cms\Categories->url() #2 /home/astronis/public_html/system/Sitemap/Sitemap.php(130): IPS\cms\extensions\core\Sitemap\Databases->generateSitemap('1_sitemap_datab...', Object(IPS\Sitemap)) #3 /home/astronis/public_html/applications/core/tasks/sitemapgenerator.php(47): IPS\Sitemap->buildNextSitemap() #4 /home/astronis/public_html/system/Task/Task.php(444): IPS\core\tasks\sitemapgenerator->IPS\core\tasks\{closure}() #5 /home/astronis/public_html/applications/core/tasks/sitemapgenerator.php(42): IPS\Task->runUntilTimeout(Object(Closure)) #6 /home/astronis/public_html/system/Task/Task.php(343): IPS\core\tasks\sitemapgenerator->execute() #7 /home/astronis/public_html/applications/core/modules/admin/settings/advanced.php(756): IPS\Task->run() #8 /home/astronis/public_html/system/Dispatcher/Controller.php(128): IPS\core\modules\admin\settings\advanced->runTask() #9 /home/astronis/public_html/applications/core/modules/admin/settings/advanced.php(98): IPS\Dispatcher\Controller->execute() #10 /home/astronis/public_html/system/Dispatcher/Dispatcher.php(169): IPS\core\modules\admin\settings\advanced->execute() #11 /home/astronis/public_html/admin/index.php(15): IPS\Dispatcher->run() #12 {main} I've been trying to solve this for hours. Any solution? Edited Friday at 09:27 PM by Astronis
Astronis Posted Saturday at 03:22 AM Author Posted Saturday at 03:22 AM Update I noticed that the Pages app is related to the error. When disabled, the notification disappears and I can run the pagemapgenerator task normally. When the Pages app page is accessed, the error below is displayed on the screen: TypeError: IPS\cms\Pages\Page::getSortableName(): Return value must be of type string, null returned (0) #0 /home/astronis/public_html/applications/cms/sources/Pages/Folder.php(61): IPS\cms\Pages\Page->getSortableName() #1 /home/astronisastronisastronisastronis/public_html/applications/cms/modules/admin/pages/pages.php(391): IPS\cms\Pages\Folder::munge(Array, Array) #2 /home/astronisastronisastronis/public_html/applications/cms/modules/admin/pages/pages.php(107): IPS\cms\modules\admin\pages\pages::getRowsForTree(0) #3 /home/astronisastronis/public_html/system/Helpers/Tree/Tree.php(144): IPS\cms\modules\admin\pages\pages->IPS\cms\modules\admin\pages\{closure}(NULL) #4 /home/astronis/public_html/applications/cms/modules/admin/pages/pages.php(103): IPS\Helpers\Tree\Tree->__toString() #5 /home/astronis/public_html/system/Dispatcher/Controller.php(139): IPS\cms\modules\admin\pages\pages->manage() #6 /home/astronis/public_html/system/Node/Controller.php(117): IPS\Dispatcher\Controller->execute() #7 /home/astronis/public_html/applications/cms/modules/admin/pages/pages.php(79): IPS\Node\Controller->execute() #8 /home/astronis/public_html/system/Dispatcher/Dispatcher.php(169): IPS\cms\modules\admin\pages\pages->execute() #9 /home/astronis/public_html/admin/index.php(15): IPS\Dispatcher->run() #10 {main}
Marc Posted Monday at 10:16 AM Posted Monday at 10:16 AM This is related issues in beta 8 which have been resolved in a patch here. Astronis 1
Astronis Posted Monday at 04:10 PM Author Posted Monday at 04:10 PM 5 hours ago, Marc said: Isso está relacionado a problemas na versão beta 8 que foram resolvidos em um patch aqui. We discussed this in another thread, but even with the patch it still requires a manual fix. Thanks! Marc 1
Recommended Posts