Hello
I have a problem with the appgini app.
I had an old server with PHP 7.4 and everything was great!
As i moved to a new server with PHP 8.2 i just have this errors when i open 2 tables. As i see is a problem with the data field.
How can i solve this issue? I post the text from the error log.
Thank you
[11-Sep-2024 21:47:54 Europe/Bucharest] PHP Fatal error: Uncaught Error: Undefined constant "FinanteC_Data" in /home/manman/public_html/hooks/Finante_Constanta.php:155
Stack trace:
#0 /home/manman/public_html/Finante_Constanta_dml.php(619): Finante_Constanta_dv(false, Array, '\n<div id="detai...', Array)
#1 /home/manman/public_html/datalist.php(1198): Finante_Constanta_form('', false, true, false, 1, 'templates/Finan...', 'templates/Finan...')
#2 /home/manman/public_html/Finante_Constanta_view.php(196): DataList->Render()
#3 {main}
thrown in /home/manman/public_html/hooks/Finante_Constanta.php on line 155
[11-Sep-2024 21:50:03 Europe/Bucharest] PHP Fatal error: Uncaught Error: Undefined constant "Data" in /home/manman/public_html/hooks/Finante_Bucuresti.php:158
Stack trace:
#0 /home/manman/public_html/Finante_Bucuresti_dml.php(630): Finante_Bucuresti_dv(false, Array, '\n<div id="detai...', Array)
#1 /home/manman/public_html/datalist.php(1198): Finante_Bucuresti_form('', false, true, false, 1, 'templates/Finan...', 'templates/Finan...')
#2 /home/manman/public_html/Finante_Bucuresti_view.php(216): DataList->Render()
#3 {main}
thrown in /home/manman/public_html/hooks/Finante_Bucuresti.php on line 158
Error when upgrading to PHP 8.2
Re: Error when upgrading to PHP 8.2
Try generate totally new codes into a new folder, and point the database to the same old one.
If this works, then you can migrate any customization codes to the new folder too.
If this works, then you can migrate any customization codes to the new folder too.