PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Sunday, January 9, 2022

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

 January 09, 2022     ampps, fatal-error, php, yii, yii2     No comments   

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
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

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

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing