help to better help you:
Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!
JEM and PHP 8
Re: JEM and PHP 8
3 years 9 months ago
Thank you for your reaction.
Do you use the maps inside JEM. Did you encounter the above posted problem too. Do you have any idea to resolve that? Any help would be appreciated!
Do you use the maps inside JEM. Did you encounter the above posted problem too. Do you have any idea to resolve that? Any help would be appreciated!
Please Log in or Create an account to join the conversation.
Re: JEM and PHP 8
3 years 2 months ago
Just remove the default value on the $view parameter. A quick grep of the code shows all the three parameters are always given when the function is called. There are few cases when NULL is given as a $view parameter, but that does not mean the default value (false) would be used. Instead $view is just simply set to NULL.
So I would try:
So I would try:
Code:
static public function mapicon($data, $view, $params)
The following user(s) said Thank You: jojo12
Please Log in or Create an account to join the conversation.
Re: JEM and PHP 8
3 years 2 months ago - 3 years 2 months ago
I did go through the iCalcreator file and the "Array and string offset access syntax with curly braces is no longer supported" and the"Unparenthesized xx is not supported" should be now fixed. I did also add a pull request of the changes on the jemproject/JEM-Project Git for these changes. It looks like after these changes there are no more PHP 8 errors.
Last edit: 3 years 2 months ago by JTe.
The following user(s) said Thank You: jojo12
Please Log in or Create an account to join the conversation.
Time to create page: 0.447 seconds