PHP Deprecated Warnings: How to Hide Them in Production and Fix Them Properly
"Deprecated:" messages after a PHP upgrade? How to stop showing them to visitors in plain PHP, WordPress and Laravel, collect them on staging, and fix…
Category
Running PHP apps on your own server: Laravel and WordPress deployment, upgrades, queues, caching and the errors that come with them.
19 articles
"Deprecated:" messages after a PHP upgrade? How to stop showing them to visitors in plain PHP, WordPress and Laravel, collect them on staging, and fix…
"1071 Specified key was too long; max key length is 3072 bytes" on MySQL 8: why long or composite indexes hit it with utf8mb4, and three real fixes in…
"String data, right truncated: 1406 Data too long for column" means a value is longer than its column. Why it suddenly appears, how to widen the colum…
PHP 8.6 is due on November 19, 2026. What's new (partial function application, clamp(), Time\Duration, readonly defaults), the session default change…
Redis suddenly rejects every write with "MISCONF Redis is configured to save RDB snapshots". Here is how to find out why the snapshot failed (a full d…
Redis refuses writes with "OOM command not allowed when used memory > 'maxmemory'" because it has a memory limit but no eviction policy. Here is the o…
Why a new PostgreSQL user fails with "Peer authentication failed" from the command line and "password authentication failed" from Laravel, how Ubuntu'…
The PHP-FPM warning "server reached pm.max_children setting (5)" means requests are queueing behind five busy workers. Here is how to work out the rig…
Laravel 11 has had no security fixes since March 2026, and Laravel 12 loses its last security patches on February 24, 2027. Here's the full official L…
PHP 8.1 is already end of life and PHP 8.2 follows on December 31, 2026, the same day PHP 8.4 loses active support. Every PHP version's dates in one t…
The usual fix for this Laravel migration error caps every unspecified string column at 191 characters, not just the one that failed. Here is a targete…
WordPress 7.1 triggers a fatal error in WP Rocket versions up to 3.23.2.1, taking down the entire site including wp-admin. Here is who is affected, th…
Page 1 of 2 · 19 articles