Espresso
Customer
Admin CP -> DB Shop -> Items -> Create item
I added an item title that was a bit longer than normal and received the error below. I shortened the title and the item was added as expected.
XF\Db\Exception: MySQL query error [1406]: Data too long for column 'title' at row 1 in src/XF/Db/AbstractStatement.php at line 217
I added an item title that was a bit longer than normal and received the error below. I shortened the title and the item was added as expected.
XF\Db\Exception: MySQL query error [1406]: Data too long for column 'title' at row 1 in src/XF/Db/AbstractStatement.php at line 217
- XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
- XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 77
- XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 89
- XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 172
- XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line 1452
- XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1184
- XF\Mvc\Entity\Entity->save() in src/addons/DBTech/Shop/Service/Item/Create.php at line 344
- DBTech\Shop\Service\Item\Create->_save() in src/XF/Service/ValidateAndSavableTrait.php at line 40
- DBTech\Shop\Service\Item\Create->save() in src/addons/DBTech/Shop/Admin/Controller/Item.php at line 491
- DBTech\Shop\Admin\Controller\Item->DBTech\Shop\Admin\Controller\{closure}() in src/XF.php at line478
- XF::asVisitor() in src/addons/DBTech/Shop/Admin/Controller/Item.php at line 495
- DBTech\Shop\Admin\Controller\Item->actionSave() in src/XF/Mvc/Dispatcher.php at line 321
- XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 248
- XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 100
- XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 50
- XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2177
- XF\App->run() in src/XF.php at line 390
- XF::runApp() in admin.php at line 13