3 Commits

Author SHA1 Message Date
f1382490ec Fix Settings.php class loading timing issue (v1.1.2)
CRITICAL BUG FIX: v1.1.1 still had the same error!

Root cause analysis:
- v1.1.1 changed hook to woocommerce_init but error persisted
- Real issue: Settings.php was require_once'd in Plugin::includes()
- At that point, class extends WC_Settings_Page which doesn't exist yet
- Even woocommerce_init fires before WC_Settings_Page is loaded

Solution:
- Removed require_once from Plugin::includes() (line 93)
- Moved require_once to Plugin::add_settings_page() (line 196)
- Settings.php now loads on-demand via woocommerce_get_settings_pages filter
- This filter fires when WooCommerce has loaded all settings classes

Changes:
- includes/Plugin.php: Delayed Settings.php inclusion with explanatory comment
- wc-composable-product.php: Version bump to 1.1.2
- CHANGELOG.md: Documented fix and noted v1.1.1 was insufficient

This addresses the actual root cause that persisted through 3 versions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-31 16:59:17 +01:00
f1b255a7f8 Add release package v1.1.1 and reorganize all releases
Release v1.1.1 - Critical bug fix:
- Fixed WC_Settings_Page class loading timing issue
- Changed initialization hook from woocommerce_loaded to woocommerce_init
- Ensures plugin activates correctly without fatal errors

Release organization:
- Moved v1.0.0 and v1.1.0 packages from root to releases/ directory
- Added v1.1.1 release package
- All releases now properly organized in releases/ subdirectory

v1.1.1 Package contents:
- Plugin source files (v1.1.1)
- Stock management integration (v1.1.0 feature)
- Complete vendor dependencies (Twig 3.0)
- Translation files for 6 locales
- Documentation and changelog

v1.1.1 Package details:
- Size: 375 KB
- SHA-256: 761eef69da910ecfdb20ceeed70b5d0381c7cab895e81a040d132cb0f88d749b

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-31 16:55:37 +01:00
67bc61cf91 Add release package v1.1.0 with checksums
Created production-ready release package including:
- Complete stock management integration
- All source files and vendor dependencies
- 6 translation files + .pot template
- Documentation and license files

Package details:
- Size: 375 KB
- SHA-256: 645fdd68aca95cba77d961f3a48d41b9c12b3d17552572b7c039575dcfcab693
- MD5: 0a60816bbc5a01c0057c1ffa72679d93

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-31 16:44:14 +01:00