Jump to content

Fatal Error When Editing Package


NETLINK

Recommended Posts

When editing a (domain) package, add a pricing row using the "Add Additional Price" button, leave the row empty, remove it, then save the package information, the following error is thrown:

 

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'term' cannot be null on line 124 in public_html/blesta/lib/model.php

Printing Stack Trace:
#0  public_html/blesta/lib/model.php(124): PDOStatement->execute(Array)
#1  public_html/blesta/components/record/record.php(225): Model->query('INSERT INTO `pr...', Array)
#2  public_html/blesta/app/models/pricings.php(93): Record->insert('pricings', Array, Array)
#3  public_html/blesta/app/models/packages.php(1507): Pricings->add(Array)
#4  public_html/blesta/app/models/packages.php(285): Packages->addPackagePricing('2', Array)
#5  public_html/blesta/app/controllers/admin_packages.php(362): Packages->edit('2', Array)
#6  public_html/blesta/lib/dispatcher.php(111): AdminPackages->edit()
#7  public_html/blesta/index.php(21): Dispatcher::dispatch('/admin/packages...')
#8 {main}

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...