0

I have core PHP functions in my project but below of the PhpStorm it says Undefined function strtolower, count and so on.

In the left side External Libraries > PHP Runtime all the directories are collapsed and empty. I have cleared caches by File > Invalidate Caches / Restart... but no luck.

PHP Runtime

Undefined functions

How to fix it?

2
  • Delete your IDE caches while IDE is closed. See stackoverflow.com/a/64071021/783119 for details (adjust the path for 2020.3 version). P.S. If you have installed PhpStorm via JetBrains Toolbox App .. then the path might be a bit different (check idea.log for that, it lists it at the start of the session) Commented Jan 18, 2021 at 14:59
  • 1
    Thank you very much :) The link mentioned fixed it. Commented Jan 19, 2021 at 5:53

1 Answer 1

1

Try to delete .idea folder. I had this problem 1 week ago.

Sign up to request clarification or add additional context in comments.

2 Comments

I had deleted. No luck :(
Delete this folder : %USERPROFILE%\AppData\Local\JetBrains\PhpStormxxx\caches

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.