Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array and string offset access syntax with curly braces is deprecated #3

Open
bartrylant opened this issue Jun 26, 2020 · 3 comments
Open

Comments

@bartrylant
Copy link

When using any of the campaign monitor related plugins, I get

Array and string offset access syntax with curly braces is deprecated

Steps:
Install the craft-campaignmonitor-service plugin
Install the lists plugin
In the left sidebar, click on "Campaign Monitor Lists"

Or
Install the craft-campaignmonitor-service plugin
Install the transactional email plugin
Try to send a transactional email

PHP version | 7.4.6
Craft Pro 3.4.25

@heymarkreeves
Copy link
Member

I'd been getting that, too, when updating my dev environment beyond PHP 7.3.9. I hadn't realized it came from my plugins. I was sticking to 7.3.9 and assumed it was a Craft thing.

I'll take a look at this. Thanks for pointing it out!

@heymarkreeves
Copy link
Member

It looks like we're waiting for Campaign Monitor to update their libraries. See campaignmonitor/createsend-php#104.

I don't think I've every used {0} to get an array (or string) offset! The issue is outlined here.

@timbertens
Copy link

This has been updated a while ago, see campaignmonitor/createsend-php#101
As of version 6.1.1 of /campaignmonitor/createsend-php this should work fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants