Skip to content

Having the question mark character "?" in cleaner pre/post sql fields causes ERROR: Incorrect number of query parameters #105

@nayabbukhari

Description

@nayabbukhari

Instruction:
Settings
1- Execute custom database query at post-wash
admin/settings.php?section=cleaner_custom_sql_post
2- Execute custom database query at pre-wash
admin/settings.php?section=cleaner_custom_sql_pre

If there is any ?/Placeholder On below boxes, there will be an error as shown below
Default exception handler: ERROR: Incorrect number of query parameters. Expected 1, got 0. Debug:
// error for admin/settings.php?section=cleaner_custom_sql_post
line 43 of /local/datacleaner/cleaner/custom_sql_post/classes/clean.php: call to local_datacleaner\clean::execute_sql()

  • line 145 of /local/datacleaner/cli/clean.php: call to cleaner_custom_sql_post\clean::execute()

Solution:
We can create separate input boxes for the password and decode/encrypt that field to store ?/placeholder.

Questions are welcome.

Metadata

Metadata

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