# |
Jun 25th 2021, 10:33 |
staccato123 |
[file] => /path/to/application/app/vendor/laminas/laminas-zendframework-bridge/src/autoload.php |
# |
Jun 25th 2021, 10:33 |
staccato123 |
( |
# |
Jun 25th 2021, 10:33 |
staccato123 |
[2] => Array |
# |
Jun 25th 2021, 10:33 |
staccato123 |
) |
# |
Jun 25th 2021, 10:33 |
staccato123 |
) |
# |
Jun 25th 2021, 10:33 |
staccato123 |
( |
# |
Jun 25th 2021, 10:32 |
staccato123 |
[args] => Array |
# |
Jun 25th 2021, 10:32 |
staccato123 |
[type] => :: |
# |
Jun 25th 2021, 10:32 |
staccato123 |
[class] => Laminas\ZendFrameworkBridge\Autoloader |
# |
Jun 25th 2021, 10:32 |
staccato123 |
[function] => getClassLoader |
# |
Jun 25th 2021, 10:32 |
staccato123 |
[line] => 53 |
# |
Jun 25th 2021, 10:32 |
staccato123 |
[file] => /path/to/application/app/vendor/laminas/laminas-zendframework-bridge/src/Autoloader.php |
# |
Jun 25th 2021, 10:32 |
staccato123 |
( |
# |
Jun 25th 2021, 10:32 |
staccato123 |
[1] => Array |
# |
Jun 25th 2021, 10:32 |
staccato123 |
) |
# |
Jun 25th 2021, 10:32 |
staccato123 |
[function] => include |
# |
Jun 25th 2021, 10:32 |
staccato123 |
[line] => 74 |
# |
Jun 25th 2021, 10:32 |
staccato123 |
[file] => /path/to/application/app/vendor/laminas/laminas-zendframework-bridge/src/Autoloader.php |
# |
Jun 25th 2021, 10:32 |
staccato123 |
( |
# |
Jun 25th 2021, 10:32 |
staccato123 |
[0] => Array |
# |
Jun 25th 2021, 10:32 |
staccato123 |
( |
# |
Jun 25th 2021, 10:32 |
staccato123 |
wibbleArray |
# |
Jun 25th 2021, 10:32 |
staccato123 |
and the second: |
# |
Jun 25th 2021, 10:31 |
staccato123 |
) |
# |
Jun 25th 2021, 10:31 |
staccato123 |
) |
# |
Jun 25th 2021, 10:31 |
staccato123 |
[function] => require |
# |
Jun 25th 2021, 10:31 |
staccato123 |
[line] => 5 |
# |
Jun 25th 2021, 10:31 |
staccato123 |
[file] => /path/to/application/app/bin/cake.php |
# |
Jun 25th 2021, 10:31 |
staccato123 |
( |
# |
Jun 25th 2021, 10:31 |
staccato123 |
[0] => Array |
# |
Jun 25th 2021, 10:31 |
staccato123 |
( |
# |
Jun 25th 2021, 10:31 |
staccato123 |
wibbleArray |
# |
Jun 25th 2021, 10:31 |
staccato123 |
and the first call results in this: |
# |
Jun 25th 2021, 10:29 |
staccato123 |
into vendor/autoload.php |
# |
Jun 25th 2021, 10:28 |
staccato123 |
print_r(debug_backtrace()); |
# |
Jun 25th 2021, 10:28 |
staccato123 |
print("wibble"); |
# |
Jun 25th 2021, 10:28 |
staccato123 |
I put |
# |
Jun 25th 2021, 10:26 |
staccato123 |
thanks |
# |
Jun 25th 2021, 10:26 |
staccato123 |
Yeah, that's what I'm trying |
# |
Jun 25th 2021, 10:03 |
ndm |
staccato123: including the autoloader more than once should have no effect, the code inside will only register a loader once. You could try setting a breakpoint in your `AppShell` file (or a debug statement that dumps a stacktrace) to figure from where / why it is being included. |
# |
Jun 25th 2021, 09:26 |
staccato123 |
vendor/autoload.php seems to be being called twice |