Skip to content

Error on single file but other files worked. #21

@omariobros

Description

@omariobros

PHP Fatal error: Uncaught TypeError: Argument 1 passed to PHPDeobfuscator\Utils::getValue() must implement interface PhpParser\Node, null given, called in /root/deobfu/PHPDeobfuscator/src/Reducer/MiscReducer.php on line 30 and defined in /root/deobfu/PHPDeobfuscator/src/Utils.php:59 Stack trace: #0 /root/deobfu/PHPDeobfuscator/src/Reducer/MiscReducer.php(30): PHPDeobfuscator\Utils::getValue(NULL) #1 /root/deobfu/PHPDeobfuscator/src/Reducer/AbstractReducer.php(40): PHPDeobfuscator\Reducer\MiscReducer->reduceTernary(Object(PhpParser\Node\Expr\Ternary)) #2 /root/deobfu/PHPDeobfuscator/src/ReducerVisitor.php(56): PHPDeobfuscator\Reducer\AbstractReducer->reduce(Object(PhpParser\Node\Expr\Ternary), Object(PHPDeobfuscator\ReducerVisitor)) #3 /root/deobfu/PHPDeobfuscator/src/ReducerVisitor.php(38): PHPDeobfuscator\ReducerVisitor->reduceNode(Object(PhpParser\Node\Expr\Ternary)) #4 /root/deobfu/PHPDeobfuscator/vendor/nikic/php-parser/lib/PhpParser/NodeTraverser.php(153): PHPDeobfuscator\ReducerVisitor->leaveNode(Object(PhpParser\Node\E in /root/deobfu/PHPDeobfuscator/src/Utils.php on line 59

Any idea what could cause this error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions