Sunday, January 9, 2022

[FIXED] Getting "Call to undefined function yii\caching\ctype_alnum()" error in Yii

Issue

I have installed AMPPS on my Mac and its running fine. But when I try to run any project in a browser, I am receiving this error:

PHP Fatal Error – yii\base\ErrorException

Call to undefined function yii\caching\ctype_alnum()

I have tried to search for this error, to no avail. How can I fix this issue?

I guess this is something related to AMPPS configurations for cache but not able to fix the error.


Solution

I have found the solution myself. The answer is that i had to switch on the ctype extension in Ampps control panel. On mac, it is necessary to switch on ctype extension to execute project without any error. Ampps -> Php -> Php Extention -> Ctype



Answered By - Awais Mustafa

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.