Re: Fatal error runnaround.
| From: | Jeffry Killen | Date: | Thu, 26 Mar 2020 19:38:09 +0000 |
| Subject: | Re: Fatal error runnaround. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-327077@lists.php.net to get a copy of this message | ||
Sorry:
>
> Fatal error: Cannot declare class _ASYNC_SAMPLER, because the name is
> already in use in /path/lab_8/php/asyncSamplerClass.php on line 14
I found out why this is occurring. There is another instance of requiring the same source file
in another class def constructor function. It is in the _CS_FIND class def. So the error is
probably from this even though the _CS_FIND instance is created AFTER the call to require
that is causing the error.
JK