A practical lesson on why Filament modal callbacks can receive a null record and how to choose a more reliable edit flow.
Author Archives: juzhax
How Docker Containers on Separate Networks Can Communicate
Two healthy Docker containers may still be unable to communicate when they use different bridge networks. Learn how to diagnose the problem and create a reliable shared network.
How to Handle App Languages That Are Bundled Instead of Downloaded
Some app languages are stored inside the package instead of remote configuration. A versioned fallback source keeps importers predictable and reproducible.
How to Handle Old Slugs Without Breaking Links
A safe URL migration pattern: check the current slug first, use redirect history only after a miss, and return a small 404 response for unknown URLs.
Why PHP Can Keep Running Old Code After Deployment
A deployment can update PHP files while OPcache keeps serving older compiled code. Learn how to identify and fix the mismatch safely.
How to Combine Dependent Pull Requests Without Triggering Two Deployments
Combine dependent pull requests on an intermediate branch, test them together, and merge into the main branch once to avoid duplicate deployment runs.
Why wp_remote_get() Can Time Out When file_get_contents() Works
Learn why WordPress HTTP requests may time out when PHP stream requests succeed, and how to diagnose and fix the difference safely.
How to Prevent MySQL Placeholder Errors in Large Batch Upserts
Large multi-row upserts can exceed MySQL’s prepared-statement placeholder limit. Split the work into smaller chunks and keep the chunks inside one transaction.
How to Reduce Peak Memory in PHP GD Image Generation
What I learned about preventing PHP GD memory errors by releasing intermediate images as soon as they are no longer needed.
How to Enforce JSON Schema in an AI Playground
Make AI playground output predictable by loading the correct prompt version, passing its JSON Schema through the runtime, enforcing strict structured output, and versioning cache keys.
