- Posts: 35
- Thank you received: 0
Array and string offset access syntax with curly braces is deprecated in PHP 7.4
- Paul Adamson
- Topic Author
- Offline
- Junior Member
-
Less
More
5 years 4 months ago #130958
by Paul Adamson
Array and string offset access syntax with curly braces is deprecated in PHP 7.4 was created by Paul Adamson
Hi Tuan, in order to successfully run the latest version of MSP without errors on PHP 7.4, I had to modify this file:
C:\xampp74\htdocs\dev\components\com_osmembership\helper\helper.php on line 4082
I changed line 4082 from
if ($query != '' && $query{0} != '#')
to
if ($query != '' && $query[0] != '#')
Cheers
Paul
C:\xampp74\htdocs\dev\components\com_osmembership\helper\helper.php on line 4082
I changed line 4082 from
if ($query != '' && $query{0} != '#')
to
if ($query != '' && $query[0] != '#')
Cheers
Paul
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
5 years 4 months ago #130965
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Array and string offset access syntax with curly braces is deprecated in PHP 7.4
Thanks Paul. Updated the download package on server with this change
Regards,
Tuan
Regards,
Tuan
The following user(s) said Thank You: Paul Adamson
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.