Farmers Bounty – Troubleshooting Guide
Farmers Bounty – Troubleshooting Guide
Solutions to common issues and problems with the Farmers Bounty plugin.
Table of Contents
- Installation Issues
- Activation Problems
- Settings Not Saving
- Display Issues
- Performance Problems
- Conflict Resolution
- Error Messages
- Getting Additional Help
// Add to wp-config.php
@ini_set('upload_max_size', '64M');
@ini_set('post_max_size', '64M');
Activation Problems
White Screen After Activation
Symptoms: Blank white screen when activating
Solutions:
- Access via FTP
- Navigate to
/wp-content/plugins/ - Rename
farmers-bounty-pluginfolder - WordPress will deactivate it automatically
- Enable debugging
// Add to wp-config.php
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
- Check
/wp-content/debug.logfor errors
- Check PHP version
- Minimum required: PHP 7.2
- Check current version:
php -v
“Cannot Redeclare Class” Error
Symptoms: Fatal error about class already declared
Solutions:
- Check for duplicate plugin installations
- Deactivate conflicting plugins
- Clear opcache:
opcache_reset();
Plugin Not Appearing in Menu
Symptoms: No Farmers Bounty menu item after activation
Solutions:
- Verify you’re logged in as Administrator
- Check user capabilities
- Clear browser cache
- Try different browser
- Deactivate and reactivate the plugin
Settings Not Saving
Changes Don’t Persist
Symptoms: Settings revert after saving
Solutions:
- Check file permissions
chmod 755 /path/to/wp-content
chmod 644 /path/to/wp-content/plugins/farmers-bounty-plugin/*
- Database issues
- Verify database user has write permissions
- Check database connection in wp-config.php
- Plugin conflicts
- Deactivate caching plugins temporarily
- Deactivate security plugins temporarily
- Test with default theme
- Browser issues
- Clear browser cache
- Disable browser extensions
- Try incognito/private mode
“Nonce Verification Failed”
Symptoms: Error message when saving settings
Solutions:
- Clear browser cookies
- Log out and log back in
- Check for clock synchronization issues
- Increase nonce lifetime:
add_filter('nonce_life', function() {
return 4 * HOUR_IN_SECONDS;
});
Display Issues
Styles Not Loading
Symptoms: Plugin pages look unstyled
Solutions:
- Clear cache
- Browser cache
- WordPress cache plugins
- Server-side cache
- Check asset loading
- View page source
- Look for farmers-bounty CSS files
- Check browser console for 404 errors
- File permissions
chmod 644 /path/to/farmers-bounty-plugin/assets/css/*
- Disable minification
- Temporarily disable optimization plugins
- Regenerate minified files
JavaScript Not Working
Symptoms: Interactive features don’t work
Solutions:
- Check browser console
- Press F12
- Look for JavaScript errors
- Note specific error messages
- jQuery conflicts
- Ensure jQuery is loaded
- Check for noConflict issues
- Script loading order
- Verify admin.js is loading
- Check dependencies are loaded first
Performance Problems
Slow Admin Dashboard
Symptoms: Admin pages load slowly
Solutions:
- Disable unnecessary plugins
- Deactivate unused plugins
- Remove old, inactive plugins
- Optimize database
OPTIMIZE TABLE wp_options;
- Enable caching
- Use object caching
- Enable page caching
- Use CDN for assets
- Increase PHP limits
memory_limit = 256M
max_execution_time = 300
High Memory Usage
Symptoms: Memory exhausted errors
Solutions:
- Increase PHP memory limit in wp-config.php:
define('WP_MEMORY_LIMIT', '256M');
define('WP_MAX_MEMORY_LIMIT', '512M');
- Check for memory leaks in custom code
- Optimize queries and data processing
Conflict Resolution
Plugin Conflicts
Symptoms: Issues when other plugins are active
Solutions:
- Identify conflicting plugin
- Deactivate all other plugins
- Activate one by one
- Test after each activation
- Common conflicts
- Caching plugins: Clear cache, regenerate
- Security plugins: Whitelist Farmers Bounty
- SEO plugins: Usually no conflicts
- Report conflicts
- Document conflicting plugin name/version
- Contact support for both plugins
Theme Conflicts
Symptoms: Display issues or functionality problems
Solutions:
- Test with default theme
- Switch to Twenty Twenty-Three
- If problem resolves, it’s theme-related
- Check theme functions
- Review theme’s functions.php
- Look for conflicting hooks
- Template overrides
- Ensure theme isn’t overriding plugin templates incorrectly
Error Messages
“Headers Already Sent”
Cause: Output before HTTP headers
Solutions:
- Remove whitespace before
in plugin files - Check for echo/print statements in activation hooks
- Verify file encoding is UTF-8 without BOM
"Database Error"
Cause: Database query failed
Solutions:
- Check database credentials in wp-config.php
- Verify database server is running
- Check user permissions on database
- Review database error logs
"Permission Denied"
Cause: File system permissions issue
Solutions:
# Set correct permissions
find /path/to/farmers-bounty-plugin -type f -exec chmod 644 {} \;
find /path/to/farmers-bounty-plugin -type d -exec chmod 755 {} \;
"Class Not Found"
Cause: Autoloading issue
Solutions:
- Verify all class files are present
- Check include paths in main plugin file
- Clear opcache
- Reinstall plugin
Getting Additional Help
Before Contacting Support
Gather this information:
- System Information
- WordPress version
- PHP version
- MySQL version
- Server software (Apache/Nginx)
- Hosting provider
- Plugin Information
- Farmers Bounty version
- Active plugins (name and version)
- Active theme
- Error Details
- Exact error message
- Steps to reproduce
- Screenshots
- Browser console errors
- Server error logs
Enable Debug Mode
// Add to wp-config.php
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
define('SCRIPT_DEBUG', true);
Check /wp-content/debug.log for error details.
Contact Support
When contacting support, include:
- All information from "Before Contacting Support"
- What you've already tried
- When the problem started
- Any recent changes to your site
Quick Reference
Common Solutions Checklist
- [ ] Clear all caches (browser, plugin, server)
- [ ] Deactivate other plugins temporarily
- [ ] Switch to default theme temporarily
- [ ] Check file permissions
- [ ] Enable debug mode
- [ ] Review error logs
- [ ] Update WordPress, PHP, and plugins
- [ ] Check database connection
- [ ] Verify user permissions
- [ ] Try different browser
File Permissions
Directories: 755
Files: 644
wp-config.php: 600 (recommended)
Useful Commands
# Check PHP version
php -v
# Check file permissions
ls -la /path/to/plugin
# Set permissions
chmod -R 755 /path/to/plugin
chmod -R 644 /path/to/plugin/*.php
# Check Apache error log
tail -f /var/log/apache2/error.log
Botanical Garden Skills
If you are using the Botanical Garden AI Skills (30 skills across horticulture, science, education, and outreach) and experiencing issues:
-
Skills not appearing in Cursor/Codex — Verify the SKILL.md files exist in
~/.cursor/skills/botanical-/SKILL.mdand~/.codex/skills/botanical-/SKILL.md -
Skills not triggering — Skills activate based on their description field. Use the skill name directly (e.g., "Use the
botanical-ipm-specialistskill") to invoke explicitly -
Re-syncing skills — Run the sync script from
CANONICAL-SOURCE.mdinoperations/Skills/Claude-Skills/to re-deploy from canonical source to Cursor and Codex
Still having issues? Contact plugin support with the information gathered from this guide.
Version: 1.0.0
Last Updated: March 19, 2026
