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

unexpected 'list' (T_LIST), expecting identifier (T_STRING) #140

Closed
medicamin opened this issue Apr 1, 2023 · 2 comments · Fixed by #141
Closed

unexpected 'list' (T_LIST), expecting identifier (T_STRING) #140

medicamin opened this issue Apr 1, 2023 · 2 comments · Fixed by #141
Assignees
Labels
bug Something isn't working

Comments

@medicamin
Copy link

What WordPress, PHP and Simple SMTP versions are you using?
WordPress 6.1, PHP 7.4, Simple SMTP 1.3.2.1

Describe the bug
I see this error in my error logs:
Parse error: syntax error, unexpected 'list' (T_LIST), expecting identifier (T_STRING) in /home/***/public_html/wp-content/plugins/simple-smtp/src/cli/class-emaillog.php on line 112

The plugin works great, but I get this error in logs.

@medicamin medicamin added the bug Something isn't working label Apr 1, 2023
@soup-bowl
Copy link
Owner

I seem to run afoul of conflicting with the inbuilt list function in the WordPress CLI functionality. Thanks for reporting this. I'll fix this in the next release.

Interesting this has never flagged before (and my Gitpod environment doesn't flag it either) - are you running PHP in debug mode?

@soup-bowl soup-bowl self-assigned this Apr 2, 2023
@medicamin
Copy link
Author

Thank you for your rapid reply!
I only installed a wordpress plugin to show the php errors in my dashboard.

@soup-bowl soup-bowl linked a pull request Apr 12, 2023 that will close this issue
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants