Skip to content

Link to customer from stats page not working #502

@frankludriks

Description

@frankludriks

Navigate to admin/stats_customers.php (there must already have been a sale in the store) and click on the link to the customer. Link goes to admin/customers.php?search={customer_last_name} but page is blank.

From error log:

PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens' in /home/somewebsite/public_html/2point4/includes/OSC/OM/DbStatement.php:97
Stack trace:
#0 /home/somewebsite/public_html/2point4/includes/OSC/OM/DbStatement.php(97): PDOStatement->execute(NULL)
#1 /home/somewebsite/public_html/2point4/admin/customers.php(700): OSC\OM\DbStatement->execute()
#2 {main}
thrown in /home/somewebsite/public_html/2point4/includes/OSC/OM/DbStatement.php on line 97

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions