php debugging does not work for me, ever , except in getAllDatas()
Posted: 25 November 2020, 17:44
Thanks for all who have tried to help me with this debuggin in php problem. The problem is still not resolved.
if I cannot use traces and other debugging tools in php. How far I can go with my project is very limited,
Javascript, console.log and console.dir works awesome.
I have always had problems using var_dumps, echos and traces with BGA studio.
I have been working around this by adding whatever I needed checking into result[] in getAllDatas() and then do a var_dump($result). var_dump only works in function getAllDatas()
When I do a var_dump outside getAllDatas(), I get the following error
When I use the following traces,
if I cannot use traces and other debugging tools in php. How far I can go with my project is very limited,
Javascript, console.log and console.dir works awesome.
I have always had problems using var_dumps, echos and traces with BGA studio.
I have been working around this by adding whatever I needed checking into result[] in getAllDatas() and then do a var_dump($result). var_dump only works in function getAllDatas()
When I do a var_dump outside getAllDatas(), I get the following error
I also get they same error when I use what other developers have kindly suggested to me. Could there me a problem with my account?ly_metasite.js:2 Unexpected error: Wrong formatted data from BGA gameserver 1 (method: createGame): JSON_ERROR_SYNTAX NULL
{"status":1,"data":true}
(anonymous) @ ly_metasite.js:2
When I use the following traces,
I get no syntax errors, but I also cannot find the traces in BGA request&SQL logs . I even copy everything to notepad and do a search.self::dump( );
self::debug( $message );
self::trace( $message );
self::warn( $message );
; /