Xazin / mybb_api

Enable your MyBB Forum with an easy-to-use API
3 stars 3 forks source link

MySQL Exception Error #14

Open etcroot opened 1 year ago

etcroot commented 1 year ago

Getting this error from UserCP when I try to generate an API key, freshly installed plugin.

Fatal error: Uncaught mysqli_sql_exception: Data too long for column 'api_key' at row 1 in /var/www/<website>/inc/db_mysqli.php:332 Stack trace: #0 /var/www/<website>/inc/db_mysqli.php(332): mysqli_query() #1 /var/www/<website>/inc/db_mysqli.php(375): DB_MySQLi->query() #2 /var/www/<website>/inc/db_mysqli.php(953): DB_MySQLi->write_query() #3 /var/www/<website>/inc/plugins/api.php(354): DB_MySQLi->update_query() #4 /var/www/<website>/inc/class_plugins.php(142): usercp_manage() #5 /var/www/<website>/usercp.php(70): pluginSystem->run_hooks() #6 {main} thrown in /var/www/<website>/inc/db_mysqli.php on line 332

Xazin commented 1 year ago

I will take a look this coming week.

What is your MyBB version?