UUIDs are not always a good solution.
If you order things by id (often useful for pagination, since incrementing ids are usually ordered by creation date) uuid are of no help.
You would need to sort by created_at and this would require an additional index.
No to speak of pagination by id ranges or whatever is used sometimes.
UUIDs are mpossible to remember and thus somewhat cumbersome to use too.
The weird id mixed up with index problem from the article is something which never happened to me ever in over 10 years of web development.
I stay away from PHP as much as possible so that may be the reason ;)