New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not find the language line "insert_batch() called with no data" #6211
Comments
Which PHP version are you using? |
PHP 8.1, but it's not relevant because the language keys are just missing in CI's DB lang file. If you look at the other references to lang keys they are all in a lowercase/underscore format rather than a sentence. |
I am using the Add the following line to /system/language/english/db_lang.php $lang['db_data_required'] = '%s called with no data'; And then change line 1499 in /system/database/DB_query_builder.php: return ($this->db_debug) ? $this->display_error('db_data_required', 'insert_batch()') : FALSE; And line 1916: return ($this->db_debug) ? $this->display_error('db_data_required', 'update_batch()') : FALSE; |
There are a couple of places in the
DB_query_builder.php
file where a missing language line is referenced:CodeIgniter/system/database/DB_query_builder.php
Line 1499 in 45576ef
CodeIgniter/system/database/DB_query_builder.php
Line 1916 in 45576ef
The text was updated successfully, but these errors were encountered: