Use of undefined constant LANGUAGE

Permalink
hi all

tried to update several versions to the latest edition... currently i am a bit confused/annoyed, there's almost every time a problem but the biggest i wasn't able to solve is:

Use of undefined constant LANGUAGE - assumed 'LANGUAGE' (this will throw an Error in a future version of PHP)

any ideas why that happens? i work with php 7.2, with 7.0 or 7.1 it's no problem...

thank yoU!

 
A3020 replied on at Permalink Best Answer Reply
A3020
I don't think the LANGUAGE constant is part of the concrete5 core. Are you using any custom blocks or packages that may use this (undefined) constant? You'd do a case-sensitive search through your code to find out.
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
What is the exact error message including the indicated filename..
And what version of concrete are you updating From and To
eivissa89 replied on at Permalink Reply
this is the message:
Use of undefined constant LANGUAGE - assumed 'LANGUAGE' (this will throw an Error in a future version of PHP)

i updated from 8.2.1 to 8.4.3

an no, there's no block or addon installed – that's what makes me angry
eivissa89 replied on at Permalink Reply
ohoh...
you were right! :)
I am so sorry! it was only two missing apostrophes in my code.

THANK YOU!
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Anger turns to embarrassment..Ha Ha, we have all done it at some stage.
eivissa89 replied on at Permalink Reply
however - thank you both! :-)