Me and my team have problem with TestRail running with PHP on IIS 8.5.
From time to time our TestRail instance becomes unresponsive with an error of following kind:
PHP Error: Cannot redeclare class library in testrail\sys\base\library.php at 21
OR
Undefined variable: case
OR
Undefined variable: GI
(Every time undefined variable is different)
Memory limit is set to 4GB in php.ini, which should be plenty:
memory_limit = 4294967296
These errors get fixed by simple IIS server restart. But our team wants to avoid this issue at all, i.e. to stop getting these kinds of messages because TestRail gets unresponsive at very different times, which are difficult to predict and every time it requires a person with admin access to the application to fix this error. This becomes very annoying and inconvenient, especially for application users. It happened around 50 times this year with no sensible errors in the logs or any clue what might cause this problem. We haven't been able to fix it yet. Is it possible to fix this once and be sure it won’t happen again?
Thanks in advance for any ideas of how to handle this case.