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

Frequent PHP errors #231

Open
Wallethub opened this issue Sep 4, 2017 · 0 comments
Open

Frequent PHP errors #231

Wallethub opened this issue Sep 4, 2017 · 0 comments

Comments

@Wallethub
Copy link

Wallethub commented Sep 4, 2017

Hi, we've experienced that every time we would deploy code to our production server (PHP files getting replaced), at times we would get PHP errors saying some error about an invalid character in line X column Y. However, if I go there on that file that character is not there.

This led me to think something was wrong with the cached php code. I cleared opcache by creating a script that calls opcache_reset() and it solves the problem, every time. Could this be a configuration error?

Here are some example PHP errors:
PHP Warning: curl_setopt_array(): Curl option contains invalid characters (\\0)

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

1 participant