Symptoms
Unable to change service plan of a subscription in Plesk > Subscriptions > Change Plan:
error: DB query failed: SQLSTATE[HY093]: Invalid parameter number: no parameters were bound, query was: SELECT `PlansSubscriptions`.* FROM `PlansSubscriptions` WHERE (`subscription_id` = ?)
Cause
A database record in table psa.Subscriptions
is missing.
Resolution
- Log into Plesk
- Open Plesk Repair Kit at Tools & Settings > Diagnose & Repair
- Click Repair in row Plesk Database:
Repair database inconsistency on command-line with Plesk Repair Utility:
-
Connect to the server via SSH
-
Execute this command:
# plesk repair db
-
Follow the on-screen instructions to automatically recreate a record for the missing subscription
-
Connect to the server via RDP
-
Open an elevated command-line window
-
Execute the following command:
plesk repair db
-
Follow the on-screen instructions to automatically recreate a record for the missing subscription
Comments
0 comments
Please sign in to leave a comment.