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.
The Cipher Behavior on The Bakery doesn’t work after updating to Cakephp 2+. Receiving
Share
On line 139 of the behavior, getMicrotime() is called.
srand(getMicrotime()*1000);getMicrotime()was removed from Cakephp 2.0.Just change
getMicrotime()tomicrotime(true)and the behavior will work normally.