[CWB] Simple Query Fatal Error

Hardie, Andrew a.hardie at lancaster.ac.uk
Fri Mar 1 07:09:49 CET 2024


Looks like a PHP 8.2 incompatibility. I've committed a fix to repo.

Thanks for the report,

Andrew.

From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> On Behalf Of Yu Yuan
Sent: Thursday, February 29, 2024 4:22 AM
To: cwb at sslmit.unibo.it
Subject: [CWB] Simple Query Fatal Error

Hi, All,
I recently updated  my CQPweb server to  revision 1879 and encountered a simple  query mode error.  I  post the error message below:
**********
PHP Fatal error:  Uncaught Error: Typed property CQPwebEnvConfig::$secret_setting_do_ceql_comparison must not be accessed before initialization in /var/www/html/corpora/lib/query-lib.php:336\nStack trace:\n#0 /var/www/html/corpora/lib/concordance-ui.php(322): process_simple_query()\n#1 /var/www/html/corpora/exe/concordance.php(1): require('...')\n#2 {main}\n  thrown in /var/www/html/corpora/lib/query-lib.php on line 336, referer:
***********
CQP syntax query mode works fine.  No idea what causes this.    Does anyone of you folks have encountered  the similar issue, or can help me with this, please?

Best,
Y.








-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20240301/c4e42161/attachment.html>


More information about the CWB mailing list