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 to string conversion #35

Open
dovy opened this issue Jul 14, 2015 · 1 comment
Open

Array to string conversion #35

dovy opened this issue Jul 14, 2015 · 1 comment

Comments

@dovy
Copy link

dovy commented Jul 14, 2015

Notice: Array to string conversion in /Users/dovy/Development/Sites/builder.dev/public/wp-content/plugins/redux-builder/admin/Git.php on line 308

Fixed it by adding a @ to suppress the error... But any ideas?

@kbjr
Copy link
Owner

kbjr commented Jul 14, 2015

Looking at https://gist.github.com/gknapp/1910448 and https://bugs.php.net/bug.php?id=60602, it seems the notice is raised by proc_open if any property in the $env array is itself an array, because the values are all cast to string automatically.

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

2 participants