You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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)
The text was updated successfully, but these errors were encountered: