Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC:

JEM and PHP 8 1 year 8 months ago #28374

  • jojo12
  • jojo12's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 3535
  • Thank you received: 400
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!

Please Log in or Create an account to join the conversation.

JEM and PHP 8 1 year 2 months ago #29187

  • JTe
  • JTe's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 2
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:
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.

JEM and PHP 8 1 year 2 months ago #29188

  • JTe
  • JTe's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 2
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.

 
The following user(s) said Thank You: jojo12

Please Log in or Create an account to join the conversation.

Last edit: by JTe.
  • Page:
  • 1
  • 2
Time to create page: 0.263 seconds

Donate

If you find JEM useful and if you use it on your site, please consider a donation to the project.

Private Messages

You are not logged in.

Follow us......