Hi Ziaul, thanks for your interest. I’ll give you an update:
Once I put the site online, I didn’t encounter any errors. Analyzing the situation, I discovered that in php.ini the display_errors parameter is always set to Off. Locally (Wamp64), however, my display_errors parameter is On.
I need this to understand whether my programming, even though very minimal and simple, is written correctly.
Considering that in Joomla 6.x PHP version 8.x is used, I am using 8.3.30, and as we know, it is much more… how to put it… strict regarding errors and variable declarations. While previously it wasn’t always necessary to declare variables, now it’s almost required.
It seems that template updates, and even updates of other extensions not developed by you, did not always take this into account.
Reading the PHP 8 documentation, it seems to me that even if variables are not declared, they are still managed and the program flow is not affected. You will only get errors—or better, warning messages.
Serious errors, however, still remain.
What can you kindly tell me about this?
If you want to see the site, I’ll send you the parameters in the next message. Right now, I have a technical urgency.
Thank you for listening, and I hope I have been clear in my explanation.
Best regards,
Renzo