This guide provides solutions for common issues you might encounter when using CP-Sync.
Connection Issues
Unable to Connect to Planning Center Online
-
Check OAuth Redirect URI:
- Verify the redirect URI is correct:
https://your-domain.com/wp-json/cp-sync/v1/pco/oauth - Ensure there are no typos in the domain
- Verify the redirect URI is correct:
-
API Credentials:
- Confirm your Client ID and Secret are entered correctly
- Try reconnecting through the OAuth process
-
SSL Issues:
- PCO requires a secure connection
- Verify your site has a valid SSL certificate installed
- Check that WordPress Site URL is using https://
Unable to Connect to Church Community Builder
-
API Credentials:
- Verify your API Username and Password
- Check that your CCB subdomain is correct
-
API Access:
- Ensure your CCB account has API access enabled
- Contact your CCB administrator if necessary
-
Incorrect URL Format:
- Only enter the subdomain part, not the full URL
- Example: enter “churchname” not “churchname.ccbchurch.com”
Sync Issues
No Data Being Imported
-
Check Connection Status:
- Verify your ChMS connection is active
- Test the connection using the “Test Connection” button
-
Review Filters:
- Check if you have filters that might be excluding all data
- Try disabling filters temporarily to test
-
API Permissions:
- Ensure your ChMS account has permission to access the data you’re trying to import
Only Partial Data Imported
-
Filter Settings:
- Review your filter configurations
- Check for unintended exclusions
-
Rate Limiting:
- API rate limits may be interrupting your imports
- Try reducing the batch size in advanced settings
-
PHP Timeout:
- Check your PHP max_execution_time setting
- Consider increasing it for large imports
Duplicate Items Being Created
-
Unique Identifier Settings:
- Verify the unique identifier field is configured correctly
- This is usually an ID field that matches between systems
-
Clear Cache:
- Try clearing the plugin cache in Advanced settings
- This rebuilds the relationship maps between systems
Integration Issues
CP Groups Integration Problems
-
Plugin Activation:
- Verify CP Groups plugin is installed and activated
- Check compatible versions
-
Mapping Configuration:
- Review field mappings between ChMS and CP Groups
- Ensure required fields are mapped correctly
The Events Calendar Integration Issues
-
Plugin Compatibility:
- Verify you’re using a compatible version of The Events Calendar
- Update both plugins to the latest versions
-
Venue and Organizer Settings:
- Check how venues and organizers are being mapped
- For CCB: venue addresses and event images are populated via an enrichment step that runs after each event imports. If venues are missing addresses, enable Debug logging and look for
Skipping enrichmentorFailed to fetch event_profilemessages — recurring event occurrences without a numeric event ID cannot be enriched and will only have a venue name.
Error Messages
“API Rate Limit Exceeded”
-
Reduce Sync Frequency:
- Space out your sync operations
- Consider incremental syncs instead of full syncs
-
Batch Processing:
- Reduce the number of items processed per batch
- Enable incremental processing in advanced settings
“PHP Memory Limit Exceeded”
-
Increase Memory Limit:
- Modify your PHP memory_limit setting
- Contact your hosting provider if necessary
-
Reduce Batch Size:
- Process fewer items per sync operation
Logging and Debugging
Enabling Debug Logs
- Navigate to Settings → CP Sync → Advanced
- Set “Log Level” to “Debug”
- Enable “Detailed API Logging” if needed
- Save settings
- Perform the operation that’s having issues
- Check logs at Settings → CP Sync → Logs
Common Log Error Messages
- API Authentication Failed: Check your API credentials
- API Request Timeout: The ChMS server took too long to respond
- Invalid Response Format: The ChMS returned unexpected data
- Rate Limit Exceeded: You’ve hit API request limits
Getting Additional Help
If you’re still experiencing issues after trying these troubleshooting steps:
-
Check Documentation:
- Review the Developer Guide for advanced solutions
-
Support Channels:
- Visit our support forum at Church Plugins Support
- Submit a support ticket with your error logs attached
- Email [email protected] with details about your issue
