Hi,
New AppGini 22.12 version is normaly supported with PHP 7.0 and table view acces runs normaly with PHP 7.0 but not with PHP 7.2
Or my heberger support minimum version PHP 7.2
Here is the bug with PHP 7.2 :
Fatal error: Uncaught ArgumentCountError: Too few arguments to function sql(), 1 passed in C:\Users\abarg\Documents\EasyPHP-Devserver-17\eds-www\alls-alumni\hooks\membres.php on line 55 and exactly 2 expected in C:\Users\abarg\Documents\EasyPHP-Devserver-17\eds-www\alls-alumni\admin\incFunctions.php:395 Stack trace: #0 C:\Users\abarg\Documents\EasyPHP-Devserver-17\eds-www\alls-alumni\hooks\membres.php(55): sql('select valeur f...') #1 C:\Users\abarg\Documents\EasyPHP-Devserver-17\eds-www\alls-alumni\membres_view.php(232): membres_init(Object(DataList), Array, Array) #2 {main} thrown in C:\Users\abarg\Documents\EasyPHP-Devserver-17\eds-www\alls-alumni\admin\incFunctions.php on line 395
Can you help me ?
AppGini 22.12 PHP support
Re: AppGini 22.12 PHP support
From the error message it looks as if you are missing the 2nd argument $e when calling sql("sql command", $e)-function in your hooks code of hooks\membres.php. I don't think this relates to AppGini- generated code but to your custom PHP code.
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
Re: AppGini 22.12 PHP support
Thanks very much for your answer.
André BARGE
André BARGE