Re: Fatal error runnaround.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



maybe using 'require_once(...)'


----------------------------------------------
Atentamente/Best regards

Rafael Mora
Cel/Mob: +58-414-493.31.39
Cel/Mob: +57-321-755.37.69
Twitter @titanve


On Thu, Mar 26, 2020 at 2:38 PM Jeffry Killen <jekillen@xxxxxxxxxxx> wrote:
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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux