[SOLVED] Quick Search bug after update 9.10.022

hi

I report a bug that occurred after the last sc update: the quick search no longer works, it returns this error:

PHP Fatal error: Uncaught Error: Call to undefined function sc_sql_escape() in /var/www/html/myproject/mypage/mypage.php:4928\nStack trace:\n#0 /var/www/html/myproject/mypage/mypage.php(4753): mygrid_apl->SC_monta_condicao()\n#1 /var/www/html/myproject/mygrid/mygrid.php(3481): mygrid_apl->SC_fast_search()\n#2

Dear @admin.grr,

Could you describe in more detail the scenario that causes this error to be reproduced, as well as the characteristics of your environment, database, etc.?

We are waiting to continue.

Best regards!

it happens only in prod, apache server on Ubuntu Server 23.04, db Mysql (mariaDB)

Dear @admin.grr,

To be able to resolve this issue in the production environment, you must perform the following procedure:

  • Republish the applications by checking the option “Deploy with the common files(CSS, buttons, images, messages)”, as shown in the image below.

common_files

The image below refers to typical publishing, but the same is true for advanced publishing.

We await your feedback on the outcome of the procedure.

Best regards!

hi, thank you for your reply.
i republished the app as suggested, it solved my issue.
thank your for your support
best regards!