If you patched PHP yesterday, you're not done yet 🚨
php2shell started with an error every PHP dev has seen a thousand times:
"Allowed memory size of 134217728 bytes exhausted"
Here's what actually went wrong, and what the update didn't fix 👇
@dsternlicht And I just realized you are the creator 😅 I love supporting creator-founded businesses. I’ll move this to the top of the list and give you feedback when I have some.
@dsternlicht I was quite concerned about migrating over the templates and etc, but thinking that Claude Code and their MCP may provide the migration points to make this happen rather seamlessly.
@alanefuller Awesome, this would be wonderful. I thought you can't send out non-transactional emails from SES though, like newsletters? I've been hesitant as I have a very solid mailing list of over 10k.
Your AI coding agent is guessing every time it writes Magento code 🤖
And there's one thing it never does before writing a plugin, ...which is exactly where most of its bugs come from.
It never checks what's already there.
It doesn't look at which plugins already wrap that method, whether the class it's calling even has that method, or how Magento actually expects that thing to be built. It just writes something that looks right, with total confidence.
(If you've ever watched Claude invent a method on a repository class, you know that feeling)
So I built something to fix that, and it's now live for M .academy University students: the M .academy MCP server.
Connect it once to Claude Code, Cursor, VS Code or claude .ai, and your AI tool can:
- ask Maggie (our AI tutor) how something in Magento works, why it works that way, or what happens when it runs, and she answers straight from the course lessons, with links to the lessons she used
- search the lessons and follow the real code templates, instead of making up a pattern
- look up real Magento classes, with their public methods, constructor dependencies and method signatures
- check which plugins, observers and preferences already hook into a class or event, before it writes another one
- review your code against M .academy best practices, with each issue tied to the lesson that covers it
You keep working the way you normally do. Ask "how does Magento decide which plugin runs first?" and it asks Maggie before answering. Ask it to build a module, and it checks the lessons first.
The part I'm most excited about is that it changes WHEN the knowledge shows up. A course is something you watch before you code, and this is the course showing up while you code, right inside the tool that's actually writing it.
University students can connect it by clicking the code icon in the right sidebar of Maggie bolt, and set it up in about a minute.
Please tell me... what's the one thing your AI tool keeps getting wrong about Magento? I'll make sure the MCP covers it.
Want to get the MCP? Enroll in the University; it's the only way: https://t.co/ekS9VGRGOH
What if emergent behaviour in AI was simply created by us documenting everything we do as humans, doing some reinforcement learning on possibilities and likeness of certain outcomes given certain criteria, and letting al that run in a feedback loop until it's carrying out 99%?
This PHP looks safe, ...right? 👇
$obj = $factory->create($class);
if (!$obj instanceof Handler) throw new TypeError("Nope");
Well, it's not. And it's the exact thing that was behind a CVSS 10.0 RCE in September 👇
PHP devs: a critical PHP security fix lands later today, on the same day as the new release (and GTA 6) 🚨
Before you upgrade, make sure you're patching the PHP that actually serves your site, because "php -v" isn't always it 👇
If you want more of this, every other week I break down how PHP actually works under the hood (the stuff that matters on days like today). 11,000+ devs already read it, come join them: https://t.co/MRhBJMZqlw
A lot of PHP upload checks look like this:
if (pathinfo($name, PATHINFO_EXTENSION) === "jpg")
That checks the file's name, not what's inside it, which is the whole trick behind polyglot upload attacks.
Here's what goes wrong, and what to check today 👇