Jump to content
  • Error log : IPS\Widget\Area::__construct(): Argument #1 ($data) must be of type array


    SoloInter
    • Status: Pending

    TypeError: IPS\Widget\Area::__construct(): Argument #1 ($data) must be of type array, null given, called in /home/damien_prod/Internazionaleprod/public_html/applications/cms/extensions/core/EditorLocations/Widgets.php on line 132 (0)
    #0 /home/damien_prod/Internazionaleprod/public_html/applications/cms/extensions/core/EditorLocations/Widgets.php(132): IPS\Widget\Area->__construct()
    #1 /home/damien_prod/Internazionaleprod/public_html/applications/cms/extensions/core/EditorLocations/Widgets.php(73): IPS\cms\extensions\core\EditorLocations\Widgets->getPageIdFromWidgetUniqueId()
    #2 /home/damien_prod/Internazionaleprod/public_html/applications/core/modules/front/system/ajax.php(266): IPS\cms\extensions\core\EditorLocations\Widgets->attachmentPermissionCheck()
    #3 /home/damien_prod/Internazionaleprod/public_html/system/Dispatcher/Controller.php(128): IPS\core\modules\front\system\ajax->attachmentInfo()
    #4 /home/damien_prod/Internazionaleprod/public_html/system/Dispatcher/Dispatcher.php(169): IPS\Dispatcher\Controller->execute()
    #5 /home/damien_prod/Internazionaleprod/public_html/index.php(16): IPS\Dispatcher->run()
    #6 {main}

     

    Backtrace :

    #0 /home/damien_prod/Internazionaleprod/public_html/init.php(827): IPS\Log::log()
    #1 [internal function]: IPS\IPS::exceptionHandler()
    #2 {main}


    User Feedback

    Recommended Comments

    1 minute ago, Gary said:

    Hi Marc,

    I have been getting these same errors after upgrading, and continue to receive them daily. I had no errors on v4.

    Are you getting these also?

    https://invisioncommunity.com/ic5bugs/bugs/error-log-table-core_theme_editor_settings-doesnt-exist-r120/

    https://invisioncommunity.com/ic5bugs/bugs/error-log-error-1061-duplicate-key-name-widget_performance-r121/

     

    Link to comment
    Share on other sites

    Yes I do, both of them after upgrading to v5. I have also received a couple of others that I don't think have been reported. Did you want me to post them up as separate bugs?

    I have:

    • Error: Undefined constant "IN_DEV" (0) #0 {main}
    • SELECT COUNT(*) FROM `forums_topics` WHERE start_date > 1728038181 AND type='solved' AND 1=0 AND ( approved NOT IN(-2,-3) ) AND ( state NOT IN('link','merged') ) IPS\Db\Exception: Unknown column 'type' in 'where clause' (1054)
    • Error (1061) Duplicate key name 'transaction-lookup': addColumnsAndIndexes ["nexus_transactions",[],[{"type":"key","name":"transaction-lookup","columns":["t_gw_id","t_method"],"length":[190,null]}]]
    • Error (1060) Duplicate column name 'page_views': addColumnsAndIndexes ["cms_pages",[{"name":"page_meta_image","type":"VARCHAR","length":255,"decimals":null,"values":null,"allow_null":true,"default":null,"comment":"","unsigned":false,"auto_increment":false}, "name":"page_views","type":"INT","length":null,"decimals":null,"values":null,"allow_null":false,"default":0,"comment":"","unsigned":false,"auto_increment":false}],[]]
    • Error (1050) Table 'core_member_privacy_actions' already exists: createTable [{"name":"core_member_privacy_actions","columns":{"id":{"name":"id","type":"BIGINT","length":"20","unsigned":true,"allow_null":false,"default":null,"auto_increment":true,"comment":"ID Number"},"member_id":{"name":"member_id","type":"BIGINT","length":null,"decimals":null,"values":null,"allow_null":false,"default":0,"comment":"","unsigned":false,"auto_increment":false},"request_date":{"name":"request_date","type":"INT","length":null,"decimals":null,"values":null,"allow_null":false,"default":0,"comment":"","unsigned":false,"auto_increment":false},"approved":{"name":"approved","type":"INT","length":null,"decimals":null,"values":null,"allow_null":true,"default":"0","comment":"","unsigned":false,"auto_increment":false},"action":{"name":"action","type":"ENUM","length":0,"decimals":null,"values":["pii_download","delete_account","delete_account_validation"],"allow_null":false,"default":null,"comment":"","unsigned":false,"auto_increment":false},"vkey":{"name":"vkey","type":"VARCHAR","length":32,"decimals":null,"values":null,"allow_null":true,"default":null,"comment":"","unsigned":false,"auto_increment":false}},"indexes":{"PRIMARY":{"type":"primary","name":"PRIMARY","columns":["id"],"length":[null]}},"engine":"InnoDB"}]
    • Error (1050) Table 'core_contact_verify' already exists: createTable [{"name":"core_contact_verify","columns":{"email_address":{"name":"email_address","type":"VARCHAR","length":255,"decimals":null,"values":null,"allow_null":false,"default":"","comment":"","unsigned":false,"auto_increment":false},"verify_key":{"name":"verify_key","type":"VARCHAR","length":255,"decimals":null,"values":null,"allow_null":false,"default":"","comment":"","unsigned":false,"auto_increment":false},"verify_time":{"name":"verify_time","type":"BIGINT","length":null,"decimals":null,"values":null,"allow_null":false,"default":0,"comment":"","unsigned":false,"auto_increment":false},"contact_data":{"name":"contact_data","type":"MEDIUMTEXT","length":0,"decimals":null,"values":[],"allow_null":false,"default":null,"comment":"","unsigned":false,"auto_increment":false}},"indexes":{"PRIMARY":{"type":"primary","name":"PRIMARY","columns":["email_address"],"length":[250]}},"engine":"InnoDB"}]
    Link to comment
    Share on other sites


×
×
  • Create New...