Skip to content
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

Changelog add error #615

Open
RonXTCdaBass opened this issue Jan 5, 2025 · 0 comments
Open

Changelog add error #615

RonXTCdaBass opened this issue Jan 5, 2025 · 0 comments

Comments

@RonXTCdaBass
Copy link

RonXTCdaBass commented Jan 5, 2025

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'admin'
  2. Click on 'admin.php?page=changelog'
  3. tried to add some words 'german language added' posted here
  4. Not seen the "german language" in dropdown, so i tried with english
  5. See error

Desktop (please complete the following information):

  • OS: [Windows]
  • Browser [firefox]

Server (please complete the following information):

  • PHP Version: [PHP 8.3.10]
  • MySQL Version: [MySQL 8.0.36-28]

Additional context
Uncaught mysqli_sql_exception: Field 'changelog_id' doesn't have a default value in /home/webpages/lima-city/ronxtcdabass/html/xgp/app/Core/Database.php:138 Stack trace: #0 /home/webpages/lima-city/ronxtcdabass/html/xgp/app/Core/Database.php(138): mysqli->query('INSERT INTO xg...') #1 /home/webpages/lima-city/ronxtcdabass/html/xgp/app/Models/Adm/Changelog.php(57): App\Core\Database->query('INSERT INTO xg...') #2 /home/webpages/lima-city/ronxtcdabass/html/xgp/app/Http/Controllers/Adm/ChangelogController.php(251): App\Models\Adm\Changelog->addEntry(Array) #3 /home/webpages/lima-city/ronxtcdabass/html/xgp/app/Http/Controllers/Adm/ChangelogController.php(129): App\Http\Controllers\Adm\ChangelogController->saveAction() #4 /home/webpages/lima-city/ronxtcdabass/html/xgp/app/Http/Controllers/Adm/ChangelogController.php(62): App\Http\Controllers\Adm\ChangelogController->addAction() #5 /home/webpages/lima-city/ronxtcdabass/html/xgp/app/Http/Controllers/Adm/ChangelogController.php(39): App\Http\Controllers\Adm\ChangelogController->runAction() #6 /home/webpages/lima-city/ronxtcdabass/html/xgp/public/admin.php(37): App\Http\Controllers\Adm\ChangelogController->index() #7 {main} thrown


<!--StartFragment-->
php | E_ERROR | 2025/01/05 19:00:12 | Where called: line  of  (in )Where called: line  of  (in )Where called: line  of App\Core\ErrorHandler (in )Where called: line 49 of App\Core\ErrorHandler (in ErrorHandler.php)Where called: line 39 of App\Libraries\DebugLib (in ErrorHandler.php)Where called: line 116 of App\Libraries\DebugLib (in DebugLib.php)
<!--EndFragment-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant