Array and string offset access syntax with curly braces is deprecated in PHP 7.4

  • Paul Adamson
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
7 months 1 week ago #130958 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

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

More
7 months 1 week ago #130965 by Tuan Pham Ngoc
Thanks Paul. Updated the download package on server with this change

Regards,

Tuan
The following user(s) said Thank You: Paul Adamson

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