Troubleshooting BB Form Builder
This guide will help you resolve common issues that may arise when using the BB Form Builder plugin.
Common Issues
Form Builder Not Loading
If the drag-and-drop form builder interface is not loading:
Check JavaScript Errors:
- Open browser developer tools (F12)
- Check the Console tab for JavaScript errors
- Look for errors related to form-builder.js
Clear Caches:
- Clear application cache:
php artisan cache:clear - Clear browser cache and hard refresh (Ctrl+Shift+R)
- Try in incognito/private browsing mode
- Clear application cache:
Verify Assets:
- Ensure JavaScript and CSS files are loading
- Check Network tab in developer tools for failed requests
- Rebuild assets if necessary:
npm run prod
Check Conflicts:
- Disable other plugins temporarily
- Check for JavaScript conflicts with theme
- Verify jQuery is loaded properly
Form Not Displaying on Frontend
If forms are not appearing on your website:
Check Shortcode:
- Verify the shortcode format:
[bb-form-builder code="your-code"][/bb-form-builder] - Ensure the form code is correct
- Check that shortcodes are enabled for the content area
- Verify the shortcode format:
Form Status:
- Verify the form is set to "Active" status
- Check if the form has been published
Theme Compatibility:
- Some themes may block shortcodes
- Check theme documentation for shortcode support
- Try adding the form to a different page
Cache Issues:
- Clear page cache
- Clear full-page caching if enabled
- Check CDN cache
Form Submissions Not Working
If form submissions are failing or not being recorded:
Check Form Actions:
- Ensure at least one action is configured (Email or Database)
- Verify email settings are correct
- Test database connection
Validation Errors:
- Check browser console for AJAX errors
- Verify CSRF token is present
- Check server logs for PHP errors
CAPTCHA Issues:
- If using reCAPTCHA, verify keys are correct
- Test with CAPTCHA disabled temporarily
- Check reCAPTCHA console for errors
Server Configuration:
- Check PHP
post_max_sizesetting - Verify
upload_max_filesizefor file uploads - Check server error logs
- Check PHP
File Upload Issues
If file uploads are not working:
Check Settings:
- Verify allowed file types in settings
- Check max file size configuration
- Ensure the file type is in the allowed list
Server Limits:
- Check PHP
upload_max_filesize - Check PHP
post_max_size - Verify
max_file_uploadslimit
- Check PHP
Directory Permissions:
- Ensure storage directory is writable
- Check
storage/app/publicpermissions - Verify symbolic link exists:
php artisan storage:link
File Validation:
- Check if file passes security validation
- Verify file extension matches content type
- Check for blocked file extensions
Email Notifications Not Sending
If email notifications are not being sent:
Email Configuration:
- Verify SMTP settings in Settings > Email
- Test email sending with built-in test
- Check mail queue if using queued emails
Action Configuration:
- Verify Email action is properly configured
- Check recipient email addresses
- Test with a simple email address first
Email Delivery:
- Check spam/junk folders
- Verify sender email is not blacklisted
- Consider using transactional email service
Server Issues:
- Check if sendmail/mail() is available
- Verify SMTP port is not blocked
- Check server firewall settings
Integration Issues
Mailchimp Not Working
API Key:
- Verify API key is correct and active
- Check API key permissions
- Regenerate API key if necessary
List Configuration:
- Ensure list ID is correct
- Check if list allows API signups
- Verify list is not archived
Field Mapping:
- Check email field name is correct
- Verify field names match form fields exactly
- Test with required fields only
GetResponse Not Working
API Key:
- Verify API key is correct
- Check API key permissions
- Test API connection
Campaign Configuration:
- Ensure campaign is active
- Check campaign allows API contacts
- Verify campaign ID is correct
Field Mapping:
- Check email field name matches
- Test with minimal fields
Multi-Step Form Issues
If multi-step (wizard) forms are not working correctly:
Step Navigation:
- Check if JavaScript is loading
- Verify step validation is working
- Test each step individually
Data Persistence:
- Ensure form data is preserved between steps
- Check for JavaScript errors during navigation
- Verify session storage is available
Layout Issues:
- Check CSS for layout conflicts
- Verify wizard layout setting
- Test in different browsers
Popup Form Issues
If popup forms are not displaying:
Trigger Configuration:
- Verify popup trigger is configured
- Check trigger conditions (scroll %, delay)
- Test with button click trigger first
JavaScript:
- Check for JavaScript conflicts
- Verify popup script is loaded
- Look for console errors
CSS Conflicts:
- Check z-index of popup overlay
- Verify modal styles are loading
- Test popup in isolation
Advanced Troubleshooting
Clearing Cache
Clearing the application cache can resolve many issues:
php artisan cache:clear
php artisan config:clear
php artisan route:clear
php artisan view:clearChecking Logs
Check the Laravel logs for any errors:
- Look in
storage/logs/laravel.log - Check for any errors related to BB Form Builder
- Pay attention to timestamps to identify recent issues
Database Issues
If you suspect database issues:
- Verify that all migrations have run successfully
- Check if the required tables exist:
form_buildersform_builder_submissions
- Ensure there are no corrupted records in the database
Performance Issues
If the plugin is causing performance problems:
Database Optimization:
- Check for missing indexes on form tables
- Clean up old submission data periodically
- Monitor database query performance
Caching:
- Enable Redis or Memcached for better performance
- Configure appropriate cache lifetimes
- Cache form configurations
Server Resources:
- Monitor CPU and memory usage
- Increase PHP memory limits if needed
- Consider upgrading server resources
Debug Mode
For development troubleshooting:
- Enable debug mode in
.env:APP_DEBUG=true - Check detailed error messages
- Important: Disable debug mode in production
Error Messages Reference
"Form not found"
- The form code doesn't exist
- Form has been deleted
- Check shortcode spelling
"This form is not active"
- Form status is set to Inactive
- Activate the form in admin panel
"Please complete the captcha"
- CAPTCHA validation failed
- Check reCAPTCHA configuration
- Verify reCAPTCHA keys
"You have already submitted this form"
- Duplicate submission detected
- Clear cookies to resubmit
- Configure unique field setting
"Embedding is not allowed for this form"
- "Allow Embed" is disabled
- Enable embedding in form settings
"File type not allowed"
- Uploaded file type is not in allowed list
- Check allowed file types in settings
- Add the file extension to allowed list
"File size exceeds limit"
- File is larger than configured maximum
- Increase max file size setting
- Compress file before uploading
Getting Support
If you're unable to resolve the issue using this troubleshooting guide, please contact our support team:
- Documentation: https://docs.botble.com/bb-form-builder
- Support Email: [email protected]
- Support Forum: https://botble.com/forum
When contacting support, please provide:
- A detailed description of the issue
- Steps to reproduce the problem
- Screenshots if applicable
- Your Botble CMS version
- Your PHP version
- Any error messages you're seeing
- Browser and version (for frontend issues)
