now()->format('Y-m-d H:i:s') . "\n"; echo "5. Testing Memory Monitor...\n"; $memoryMonitor = new App\Framework\Performance\MemoryMonitor(); echo " โœ… MemoryMonitor: Current usage " . number_format(memory_get_usage(true) / 1024 / 1024, 2) . " MB\n"; echo "\n๐ŸŽ‰ Basic framework components working!\n"; echo "The issue is likely in the Discovery System during bootstrap.\n"; } catch (Exception $e) { echo "\nโŒ ERROR: " . $e->getMessage() . "\n"; echo "Class: " . get_class($e) . "\n"; echo "File: " . $e->getFile() . ":" . $e->getLine() . "\n"; echo "\nStack Trace:\n" . $e->getTraceAsString() . "\n"; } catch (Error $e) { echo "\nโŒ FATAL ERROR: " . $e->getMessage() . "\n"; echo "Class: " . get_class($e) . "\n"; echo "File: " . $e->getFile() . ":" . $e->getLine() . "\n"; echo "\nStack Trace:\n" . $e->getTraceAsString() . "\n"; }