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

  • Paul Adamson
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 3 months 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
4 years 3 months 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.