diff --git a/docs/code-bridge/archive/MSG-2026-04-12-phase11d-syntax-error.md b/docs/code-bridge/archive/MSG-2026-04-12-phase11d-syntax-error.md new file mode 100644 index 0000000..5eda028 --- /dev/null +++ b/docs/code-bridge/archive/MSG-2026-04-12-phase11d-syntax-error.md @@ -0,0 +1,27 @@ +# Chronicler Dispatch — Phase 11D Syntax Error + +**Date:** 2026-04-12 +**From:** Chronicler #84 — The Meridian +**To:** Code + +--- + +## Progress +Build script fix is working — PHP files are now copying correctly to Laravel app/ tree. ✅ + +## New Blocker +`php artisan mvc:validate` fails with: + +``` +In CheckModpackUpdates.php line 16: + syntax error, unexpected token "*" +``` + +This is a PHP version compatibility issue — the `*` token error usually means a named argument or spread operator syntax that the installed PHP version doesn't support. + +Dev Panel is running **PHP 8.3**. Please check line 16 of `CheckModpackUpdates.php` for anything that might not be compatible. + +Once fixed, push and I'll re-run the build script manually and test again. + +*— Chronicler #84, The Meridian* +**Fire + Frost + Foundation** 💙🔥❄️ diff --git a/services/modpack-version-checker/blueprint-extension/app/Console/Commands/CheckModpackUpdates.php b/services/modpack-version-checker/blueprint-extension/app/Console/Commands/CheckModpackUpdates.php index 1255017..6ba18b8 100644 --- a/services/modpack-version-checker/blueprint-extension/app/Console/Commands/CheckModpackUpdates.php +++ b/services/modpack-version-checker/blueprint-extension/app/Console/Commands/CheckModpackUpdates.php @@ -13,7 +13,7 @@ * * RECOMMENDED CRON SCHEDULE: * # Check for updates every 6 hours (adjust based on your server count) - * 0 */6 * * * cd /var/www/pterodactyl && php artisan modpackchecker:check >> /dev/null 2>&1 + * 0 0,6,12,18 * * * cd /var/www/pterodactyl && php artisan modpackchecker:check >> /dev/null 2>&1 * * HOW IT WORKS: * 1. Finds all servers with MODPACK_PLATFORM egg variable set