Jump to content

Recommended Posts

User error.

I thought I followed the instructions.  😞


INSERT INTO `IPS_cms_blocks` ( `block_type`, `block_plugin`, `block_plugin_app`, `block_position`, `block_active` ) VALUES ( 'plugin', 'RecordFeed', 'cms', 9, 1 )
IPS\Db\Exception: Field 'block_key' doesn't have a default value (1364)
#0 /home/pathlabt/public_html/forum/system/Db/Db.php(941): IPS\_Db->preparedQuery('/*pathlabt_pltd...', Array)
#1 /home/pathlabt/public_html/forum/system/Patterns/ActiveRecord.php(487): IPS\_Db->insert('cms_blocks', Array)
#2 /home/pathlabt/public_html/forum/system/Node/Model.php(2525): IPS\Patterns\_ActiveRecord->save()
#3 /home/pathlabt/public_html/forum/applications/cms/sources/Blocks/Block.php(1012): IPS\Node\_Model->save()
#4 /home/pathlabt/public_html/forum/applications/cms/sources/Blocks/Block.php(742): IPS\cms\Blocks\_Block->save()
#5 /home/pathlabt/public_html/forum/system/Node/Controller.php(420): IPS\cms\Blocks\_Block->formatFormValues(Array)
#6 /home/pathlabt/public_html/forum/system/Dispatcher/Controller.php(107): IPS\Node\_Controller->form()
#7 /home/pathlabt/public_html/forum/system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute()
#8 /home/pathlabt/public_html/forum/applications/cms/modules/admin/pages/blocks.php(44): IPS\Node\_Controller->execute()
#9 /home/pathlabt/public_html/forum/system/Dispatcher/Dispatcher.php(153): IPS\cms\modules\admin\pages\_blocks->execute()
#10 /home/pathlabt/public_html/forum/admin/index.php(13): IPS\_Dispatcher->run()
#11 {main}


Link to comment
Share on other sites

  • Providers
10 hours ago, Square Wheels said:

I thought I followed the instructions. 

That’s doesn’t seem to be related to my product. It just looks like creating blocks is failing on your installation. If you can replicate that consistently, you might wanna reach out to IPS for support. Also, make sure the Support section in the ACP isn’t reporting any problems with your database. 

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Share more information, add your insight, and reply to this topic. All users are welcome to post.

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Recently Online   0 Members, 0 Anonymous, 1 Guest (See full list)

    • There are no registered users currently online

  • Create New...