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!
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!
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.
What is the exact error message including the indicated filename..
And what version of concrete are you updating From and To
And what version of concrete are you updating From and To
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
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
ohoh...
you were right! :)
I am so sorry! it was only two missing apostrophes in my code.
THANK YOU!
you were right! :)
I am so sorry! it was only two missing apostrophes in my code.
THANK YOU!
Anger turns to embarrassment..Ha Ha, we have all done it at some stage.
however - thank you both! :-)