Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link to customer from stats page not working #502

Closed
frankludriks opened this issue Nov 15, 2016 · 0 comments
Closed

Link to customer from stats page not working #502

frankludriks opened this issue Nov 15, 2016 · 0 comments
Assignees
Milestone

Comments

@frankludriks
Copy link

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

@haraldpdl haraldpdl added this to the v2.4.2 milestone Nov 20, 2016
@haraldpdl haraldpdl self-assigned this Nov 20, 2016
haraldpdl added a commit that referenced this issue Nov 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants