Skip to content

ValueError: bcmul(): Argument #1 ($num1) is not well-formed ... RowEvent.php:665 #133

Open
@srakhmanchuk

Description

@srakhmanchuk

Related closed issue: #79, PR: #76

Same place but now the issue is with the first argument ($res):
return bcmul($res, '1', $columnDTO->decimals);

ValueError: bcmul(): Argument #1 ($num1) is not well-formed in /www/vendor/krowinski/php-mysql-replication/src/MySQLReplication/Event/RowEvent/RowEvent.php:665

Stack trace:
#0 /www/vendor/krowinski/php-mysql-replication/src/MySQLReplication/Event/RowEvent/RowEvent.php(665): bcmul()
#1 /www/vendor/krowinski/php-mysql-replication/src/MySQLReplication/Event/RowEvent/RowEvent.php(534): MySQLReplication\Event\RowEvent\RowEvent->getDecimal()
#2 /www/vendor/krowinski/php-mysql-replication/src/MySQLReplication/Event/RowEvent/RowEvent.php(458): MySQLReplication\Event\RowEvent\RowEvent->getColumnData()
#3 /www/vendor/krowinski/php-mysql-replication/src/MySQLReplication/Event/RowEvent/RowEvent.php(390): MySQLReplication\Event\RowEvent\RowEvent->getValues()
#4 /www/vendor/krowinski/php-mysql-replication/src/MySQLReplication/Event/Ev... [truncated]

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