Jump to content

Cardinality Violation Error


enTangle

Recommended Posts

Hi All,

New Blesta user here. Everything seemed to install ok and I was able to configure most basic settings. Also added some clients already. However when I tried to create my first product I got a strange error (full details below.) Anyone have any idea what I am doing wrong?

  Oh noes!

SQLSTATE[21000]: Cardinality violation: 1241 Operand should contain 1 column(s) on line 124 in /home/entangle/public_html/_OFFICE/billing/lib/model.php

Printing Stack Trace:
#0 /home/entangle/public_html/_OFFICE/billing/lib/model.php(124): PDOStatement->execute(Array)
#1 /home/entangle/public_html/_OFFICE/billing/components/record/record.php(655): Model->query('SELECT `id` FRO...', Array)
#2 /home/entangle/public_html/_OFFICE/billing/app/models/packages.php(1354): Record->fetch()
#3 [internal function]: Packages->validatePriceInUse(0, Array)
#4 /home/entangle/public_html/_OFFICE/billing/components/input/input.php(478): call_user_func_array(Array, Array)
#5 /home/entangle/public_html/_OFFICE/billing/components/input/input.php(254): Input->validateRule('pricing', Array, 0, 'term', Array)
#6 [internal function]: Input->processValidation(0, 'term', Array, 2, 2, Array)
#7 /home/entangle/public_html/_OFFICE/billing/components/input/input.php(542): call_user_func_array(Array, Array)
#8 /home/entangle/public_html/_OFFICE/billing/components/input/input.php(546): Input::array_walk_recursive(Array, Array, Array, 2, 1, Array)
#9 /home/entangle/public_html/_OFFICE/billing/components/input/input.php(305): Input::array_walk_recursive(Array, Array, Array, 2)
#10 /home/entangle/public_html/_OFFICE/billing/app/models/packages.php(80): Input->validates(Array)
#11 /home/entangle/public_html/_OFFICE/billing/app/controllers/admin_packages.php(224): Packages->add(Array)
#12 /home/entangle/public_html/_OFFICE/billing/lib/dispatcher.php(111): AdminPackages->add()
#13 /home/entangle/public_html/_OFFICE/billing/index.php(21): Dispatcher::dispatch('/admin/packages...')
#14 {main}

 

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.

Guest
Reply to this topic...

×   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.

Loading...
×
×
  • Create New...