Skip to content

Frequent PHP errors #231

@Wallethub

Description

@Wallethub

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions