The Cipher Behavior on The Bakery doesn't work after updating to Cakephp 2+. Receiving the error Fatal error: Call to undefined function getmicrotime() anytime the behavior is triggered.
On line 139 of the behavior, getMicrotime() is called. srand(getMicrotime()*1000);
getMicrotime()
was removed from Cakephp 2.0.
Just change getMicrotime()
to microtime(true)
and the behavior will work normally.