How to solve the problem with the addition of regular classes in a legacy project Webform?

Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
Good day.
Had to deal with legacy project (10 years I think) on the sharp, which was written without much, shall we say, refinements.
The goal of refactoring.
Accordingly, first it took me a heap allocation logic from hardcode in the routes somewhere else.
And that's the problem - all my files being added are in no way recognized endpoint (error level unknown namespaces, classes, etc.). Since I do very little with the sharp worked, apparently, couldn't even form a polite request to Google, which would give me an answer. You are not working through the Studio and not locally. If experienced guys here have an answer to this situation - I will be glad to hear.
by | 18 views

1 Answer

0 like 0 dislike
In General, everything was very simple. I don't know why it took so long to find. In the end, I ran across it going through all possible configuration options. For the "left" code I had in the project root to create the directory "App_Code", and in the config in the compilation section to specify a subdirectory in the codeSubDirectories.

Related questions

0 like 0 dislike
1 answer
asked Jun 6, 2019 by Dosakon
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Apr 9, 2019 by justbefree
110,608 questions
257,186 answers
35,593 users