[SOLVED] Update ScriptCase v9.12.015

Hi Team,

I receive this error after upgrade in object when I try to generate

PHP Fatal error: Uncaught Error: Using $this when not in object context in /var/www/html/scriptcase/devel/generator/nm_gp_gera_ini.php:2690\nStack trace:\n#0 /var/www/html/scriptcase/devel/generator/nm_gp_gera_ini.php(2): sg_load()\n#1 /var/www/html/scriptcase/devel/generator/nm_gp_consulta_cons.php(13): require(’…’)\n#2 /var/www/html/scriptcase/devel/generator/nm_gp_consulta_cons.php(2): sg_load()\n#3 /var/www/html/scriptcase/devel/generator/nm_gp_consulta.php(1142): require(’…’)\n#4 /var/www/html/scriptcase/devel/generator/nm_gp_consulta.php(2): sg_load()\n#5 /var/www/html/scriptcase/devel/generator/nm_gp_geracao.php(3025): require(’…’)\n#6 /var/www/html/scriptcase/devel/generator/nm_gp_geracao.php(2): sg_load()\n#7 {main}\n thrown in /var/www/html/scriptcase/devel/generator/nm_gp_gera_ini.php on line 2690, referer: https://php.alacorporation.com/scriptcase/devel/iface/generate_parallel.php

and never finish, the error is extracted from /var/log/apache2/error.log

Thank you

Please REVIEW this update!
Something goes WRONG!
Please ADVISE!

Hello,
We are checking. Which connection (database and driver) are you using?

MySQL DB
MySQL PDO Driver

1 Like

Sorry, Are you talking about Scriptcase DB or Application DB?
Scriptcase db is SQLite
Application DB is MySQL

Thank you!

I’ve just sent you an email with more details. Please check your inbox.

I was not able to send what You request
Is there an alternative?

Hello. I have the same problem, I need help urgently.
Fatal error: Uncaught Error: Using $this when not in object context in

/scriptcase/devel/generator/nm_gp_gera_ini.php:2690 Stack trace: #0
/scriptcase/devel/generator/nm_gp_gera_ini.php(2): sg_load() #1
/scriptcase/devel/generator/nm_gp_gera_blank.php(10): require(’…’) #2
/scriptcase/devel/generator/nm_gp_gera_blank.php(2): sg_load() #3
/scriptcase/devel/generator/nm_gp_geracao.php(3212): require(’…’) #4
/scriptcase/devel/generator/nm_gp_geracao.php(2): sg_load() #5 {main} thrown in
/scriptcase/devel/generator/nm_gp_gera_ini.php on line 2690

Hello,

maybe I found the issue, it was related to log settings

if I set like this, it works, no error

We would like to thank everyone for their feedback and collaboration.

The problem has already been identified and promptly reported so that the responsible team can work on releasing the fix.

As soon as it occurs, we will provide feedback through this topic.

Best regards!

@pinusky @reyi2403,

The fix has been released in the version, which is now available for update.

Please check it out and give us feedback.

Best regards!

Issue has been fixed.
Thank You
Regards