Skip to content

$silentproblems[] - A non-numeric value encountered #903

@q2apro

Description

@q2apro

Someone used a "punkspider" bot against my website. That triggered this error:

Error : A non-numeric value encountered

$silentproblems[] = 'timeout after ' . ($timenow - $timestamp) . 's';

In qa-include/app/users.php. https://github.com/q2a/question2answer/blob/dev/qa-include/app/users.php#L1357

User Agent: Punkspider/5.0 (opt-out to support@hyperiongray.com)
IP: 3.23.208.80

How can "non-numeric value" happen at that line of code? – I guess it was an injection/hack attempt.

How to fix it?

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