OS Property support center

PHP8 Error

  • MelanieB
  • Topic Author
  • Away
  • Elite Member
  • Elite Member
More
2 years 2 weeks ago #151074 by MelanieB
PHP8 Error was created by MelanieB
Hi,

I am trying to move to PHP8 and got the following error: 

Array and string offset access syntax with curly braces is no longer supported in /home/mysite/public_html/plugins/system/initosproperty/initosproperty.php on line 32

So I changed the curly brace as follows and it worked:

                    if ($query != '' && $query[0] != '#') {

Will changing these curly braces cause any problem with OSProperty?

Kind regards

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

More
2 years 2 weeks ago #151075 by Mr. Dam
Replied by Mr. Dam on topic PHP8 Error
Hi Mel,
Sure, we should change it to make OS Property to work with PHP8
Thanks
Dam

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

  • MelanieB
  • Topic Author
  • Away
  • Elite Member
  • Elite Member
More
2 years 2 weeks ago #151076 by MelanieB
Replied by MelanieB on topic PHP8 Error
Thanks Dam.

Is OSProperty fully compatible with PHP8 yet?
That small change fixed the first error but since realised when you click on property details it produces error 500 with:

crbug/1173575, non-JS module files deprecated.

So I have gone back to 7.4 for now.

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

More
2 years 2 weeks ago #151078 by Mr. Dam
Replied by Mr. Dam on topic PHP8 Error
You can submit ticket and send your site url with super admin account, we will help you to solve it.
Thanks
Dam

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

More
1 year 10 months ago #152453 by Urszula Dziki
Replied by Urszula Dziki on topic PHP8 Error
I am waiting too :) I can only imagine how much work you guys are doing...well not even imagine. The changes nowadays happening too fast.

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

More
1 year 10 months ago #152455 by Mr. Dam
Replied by Mr. Dam on topic PHP8 Error
Hi Urszula,
Could you please submit ticket on category: OS Property and let us know your issue. We will help you to solve all problems asap
Thanks
Dam

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

More
1 year 9 months ago #152494 by Urszula Dziki
Replied by Urszula Dziki on topic PHP8 Error
Thank you Dam, Thank you so much for your reply. The testing for the website I am doing on the local server as I rather don't touch the live site - the client wouldn't be happy if things stop working. I definitely will submit a ticket once I rule out other issues. I am hoping that by that time we will have Joomla 4 compatible too :) For now, the live site is on 7.4 PHP. It is a brilliant component. Thank you again.....I know if anyone can help - you guys will do .....have a great day Dam.

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

More
1 year 9 months ago #152515 by Mr. Dam
Replied by Mr. Dam on topic PHP8 Error
Ok Urszula, let me know when you have any further issues
Thanks
Dam

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

Moderators: Mr. DamNguyen Phu Quan