Jump to content
  • Several errors during upgrade


    Hi, I performed a test update to IC5 and encountered some errors. I'll try to point them out.

    The update process was carried out with all external third-party applications and plugins disabled.

     

    When I try to delete a custom emoji set, I get the following error:

    TypeError: IPS\File::get(): Argument #2 ($url) must be of type IPS\Http\Url|string, null given, called in public_html/applications/core/modules/admin/editor/emoticons.php on line 393 (0)
    #0 public_html/applications/core/modules/admin/editor/emoticons.php(393): IPS\File::get()
    #1 public_html/system/Dispatcher/Controller.php(128): IPS\core\modules\admin\editor\emoticons->deleteSet()
    #2 public_html/applications/core/modules/admin/editor/emoticons.php(70): IPS\Dispatcher\Controller->execute()
    #3 public_html/system/Dispatcher/Dispatcher.php(169): IPS\core\modules\admin\editor\emoticons->execute()
    #4 public_html/admin/index.php(15): IPS\Dispatcher->run()
    #5 {main}
    
    #0 public_html/init.php(827): IPS\Log::log()
    #1 [internal function]: IPS\IPS::exceptionHandler()
    #2 {main}

     

    Error2:

    Error (1060) Duplicate column name 'guest_name': addColumnsAndIndexes ["core_rc_reports",[{"name":"guest_name","type":"VARCHAR","length":255,"decimals":null,"values":null,"allow_null":true,"default":null,"comment":"","unsigned":false,"auto_increment":false},{"name":"guest_email","type":"VARCHAR","length":255,"decimals":null,"values":null,"allow_null":true,"default":null,"comment":"","unsigned":false,"auto_increment":false}],[]]
    
    #0 /system/Application/Application.php(1769): IPS\Log::log()
    #1 /applications/core/sources/Setup/Upgrade.php(565): IPS\Application->installDatabaseUpdates()
    #2 /applications/core/sources/Setup/Upgrade.php(369): IPS\core\Setup\Upgrade->step1()
    #3 /applications/core/modules/setup/upgrade/upgrade.php(60): IPS\core\Setup\Upgrade->process()
    #4 /system/Helpers/MultipleRedirect/MultipleRedirect.php(104): IPS\core\modules\setup\upgrade\upgrade->IPS\core\modules\setup\upgrade\{closure}()
    #5 /applications/core/modules/setup/upgrade/upgrade.php(45): IPS\Helpers\MultipleRedirect->__construct()
    #6 /system/Dispatcher/Controller.php(139): IPS\core\modules\setup\upgrade\upgrade->manage()
    #7 /system/Dispatcher/Setup.php(261): IPS\Dispatcher\Controller->execute()
    #8 /admin/upgrade/index.php(38): IPS\Dispatcher\Setup->run()
    #9 {main}

     

    Error3

    SELECT * FROM `core_theme_editor_settings`
    IPS\Db\Exception: Table 'test.core_theme_editor_settings' doesn't exist (1146)
    #0 /public_html/system/Db/Select.php(402): IPS\Db->preparedQuery()
    #1 /public_html/system/Db/Select.php(460): IPS\Db\Select->runQuery()
    #2 [internal function]: IPS\Db\Select->rewind()
    #3 /public_html/system/Theme/Editor/Setting.php(205): IteratorIterator->rewind()
    #4 /public_html/system/Theme/Theme.php(490): IPS\Theme\Editor\Setting::loadAllKeys()
    #5 /public_html/system/Theme/Theme.php(367): IPS\Theme::themes()
    #6 /public_html/system/Dispatcher/Standard.php(82): IPS\Theme::i()
    #7 /public_html/system/Dispatcher/Front.php(902): IPS\Dispatcher\Standard::baseCss()
    #8 /public_html/system/Dispatcher/Front.php(143): IPS\Dispatcher\Front::baseCss()
    #9 /public_html/system/Dispatcher/Dispatcher.php(126): IPS\Dispatcher\Front->init()
    #10 /public_html/index.php(16): IPS\Dispatcher::i()
    #11 {main}
    
    #0 /public_html/init.php(827): IPS\Log::log()
    #1 [internal function]: IPS\IPS::exceptionHandler()
    #2 {main}

     

    Error4

    Error (1091) Can't DROP COLUMN `set_marketplace_id`; check that it exists: dropColumn ["core_themes",["set_marketplace_id","set_parent_id","set_parent_array","set_child_array","set_by_skin_gen","set_skin_gen_data","set_customized"]]
    
    #0 public_html/system/Application/Application.php(1769): IPS\Log::log()
    #1 public_html/applications/core/sources/Setup/Upgrade.php(565): IPS\Application->installDatabaseUpdates()
    #2 public_html/applications/core/sources/Setup/Upgrade.php(369): IPS\core\Setup\Upgrade->step1()
    #3 public_html/applications/core/modules/setup/upgrade/upgrade.php(60): IPS\core\Setup\Upgrade->process()
    #4 public_html/system/Helpers/MultipleRedirect/MultipleRedirect.php(104): IPS\core\modules\setup\upgrade\upgrade->IPS\core\modules\setup\upgrade\{closure}()
    #5 public_html/applications/core/modules/setup/upgrade/upgrade.php(45): IPS\Helpers\MultipleRedirect->__construct()
    #6 public_html/system/Dispatcher/Controller.php(139): IPS\core\modules\setup\upgrade\upgrade->manage()
    #7 public_html/system/Dispatcher/Setup.php(261): IPS\Dispatcher\Controller->execute()
    #8 public_html/admin/upgrade/index.php(38): IPS\Dispatcher\Setup->run()
    #9 {main}

     

    Error5

    Error: Call to undefined method IPS\forums\Topic::TopicCount() in public_html/static/template_4_b9ece655dd44c92e77c425d3dea4cf8f_index.php:1403
    Stack trace:
    #0 public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_forums_front_index->forumRow()
    #1 public_html/static/template_4_b9ece655dd44c92e77c425d3dea4cf8f_index.php(1876): IPS\Theme\_SandboxedTemplate->__call()
    #2 public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_forums_front_index->index()
    #3 public_html/applications/forums/modules/front/forums/index.php(225): IPS\Theme\_SandboxedTemplate->__call()
    #4 public_html/system/Dispatcher/Controller.php(118): IPS\forums\modules\front\forums\_index->manage()
    #5 public_html/applications/forums/modules/front/forums/index.php(52): IPS\Dispatcher\_Controller->execute()
    #6 public_html/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\front\forums\_index->execute()
    #7 public_html/index.php(13): IPS\_Dispatcher->run()
    #8 {main}

     


    User Feedback

    Recommended Comments

    Marc

    Posted

    Sorry, Im a little confused by your post. Did this happen "during" upgrade (as in you havent got to v5 at all), or have you got t v5 and seen this in the log afterwards, or have you seen these when trying to delete a custom emoji?

    PanSevence

    Posted (edited)

    I managed to update to v5 and saw all those errors in the system logs. That emoji error also appeared when I updated and tried to remove custom ones.

    Are the remaining issues clear to you, and are they critical to fix? What can I do in this case to address them in the update to version 5?

    Edited by PanSevence
    Marc

    Posted

    If the site completed its update, you can probably safely ignore those. I will however do a bug report so we know they are happening. Please post the emoji one as a separate item. We need to ensure bug reports are kept separate


×
×
  • Create New...