1. No query results for model [App\Contact]
Likely Cause
The customer contact used in the sale has been deleted or deactivated on the web app.
Recommended Resolution
- Print all unsynced invoices showing this error.
- Uninstall and reinstall the Prokip Desktop App.
- Re-enter the sale on the web app to capture all items.
Preventive Action
- Avoid deleting contacts that are still linked to invoices.
- Always sync before making offline sales.
2. No query results for model [App\Product] ######
Likely Cause
The product sold offline has been deleted or deactivated on the web version.
Recommended Resolution
- Print unsynced invoices.
- Reinstall the desktop app.
- Re-enter the sale on the web to sync properly.
Preventive Action
- Avoid deleting frequently sold products.
- Regularly sync to update the local product list.
3. Something went wrong
Likely Cause
Usually caused by corrupted cache files or outdated session data.
Recommended Resolution
- Clear the desktop app cache.
- Restart the app and resync.
- Retry syncing after 2–5 minutes.
Preventive Action
- Clear cache weekly.
- Avoid abrupt app shutdowns.
4. Object reference not set to an instance of an object
Likely Cause
Triggered by a deadlock or serialization conflict during syncing (multiple updates to the same data).
Recommended Resolution
- Close and reopen the app.
- Logout of the app, log in as a sales admin, logout and disable sales admin.
- Login to the app and resync.
- If it persists, try solution in 3 above.
Preventive Action
- Ensure stable internet during sync.
5. Sync failed – Network error or timeout
Likely Cause
Poor internet connection or server timeout during synchronization.
Recommended Resolution
- Check and stabilize your internet.
- Retry after ensuring connection is stable.
Preventive Action
- Use a reliable internet connection.