# |
Sep 12th 2019, 23:21 |
sdevore |
yea, I’ve also turned on `xdebug.auto_trace=1` to see where it dies as well |
# |
Sep 12th 2019, 23:19 |
challgren |
I’d litter the controller with die’s to figure out where its crapping out |
# |
Sep 12th 2019, 23:18 |
sdevore |
@challgren ditto… very frustrating when your crutch (xDebug) is blowing up |
# |
Sep 12th 2019, 23:12 |
challgren |
I have cakephp/chronos 1.2.8 |
# |
Sep 12th 2019, 23:11 |
sdevore |
yea, I am seeing some notes in the cakephp/chronos about the __debuginfo() crashing xDebug, so I have tried to force that update to the version that seems to of addressed that, but still getting them. So I guess it could be another class that is causing that issue, it is just strange to me that these two issues popped up in the switch from 3.6 to 3.7 |
# |
Sep 12th 2019, 23:06 |
challgren |
Not sure then honestly |
# |
Sep 12th 2019, 22:57 |
challgren |
Ohh ok |
# |
Sep 12th 2019, 22:57 |
sdevore |
looking in composer.lock I am running ` "version": "3.20.2"` (composer.php has “cakephp/debug_kit”: “~3.0",) |
# |
Sep 12th 2019, 22:54 |
challgren |
Did you upgrade debugkit? |
# |
Sep 12th 2019, 22:49 |
slackebot |
problem with __debuginfo() when viewing in phpstorm is making it hard for me to track down. Any one have any ideas on how to track these issues down? |
# |
Sep 12th 2019, 22:49 |
sdevore |
I just upgraded a client project from 3.6.x to 3.7.x and I am seeing a lot of places where I am getting errors for nesting more then 256 levels that I was not seeing before (I think it is the generation of the Variables DebugKit panel. Was there a change to the way things are marshalled or hashed that is causing this? I don’t get a stack trace reported so I can figure out where it is blowing up. This combined with xDebug seeming to throw |
# |
Sep 12th 2019, 20:29 |
challgren |
I wish this could be a bit more descriptive. |
# |
Sep 12th 2019, 16:48 |
this.impetus |
lolol I'm saving this to review on a day when I have 30+ minutes to be curious, but thanks |
# |
Sep 12th 2019, 16:48 |
jh |
is cakephp 3.5 running on php 7.3 without issues? where can I read about it or find out? |
# |
Sep 12th 2019, 16:44 |
jh |
https://www.google.com/search?client=firefox-b-dandq=declarative+shadow+dom ... missing feature |
# |
Sep 12th 2019, 16:43 |
jh |
one of the best things happening to css for a long time |
# |
Sep 12th 2019, 16:43 |
jh |
no joke. |
# |
Sep 12th 2019, 16:43 |
jh |
read this for more happyness: https://github.com/w3c/csswg-drafts/issues/2143 |
# |
Sep 12th 2019, 16:43 |
jh |
(and you could group concat within SQL to fetch nested data in one query say json encoded... and then unfold the returned data struct of addresses in your application... more complex, little gain) |
# |
Sep 12th 2019, 16:42 |
jh |
(in theory in sql you can do all in one query but then you get duplications for the primary query... aka 10 user rows with the same user data for 10 different addresses of the same user) |
# |
Sep 12th 2019, 16:41 |
this.impetus |
right. k. thanks |
# |
Sep 12th 2019, 16:41 |
jh |
user hasMany addresses - you need to fetch all the addresses based on the foreign key so you need a separate query |
# |
Sep 12th 2019, 16:40 |
jh |
user hasOne profile - you can get the profile fields in the same row as the user data |
# |
Sep 12th 2019, 16:40 |
jh |
for hasOne or belongsTo you can return the associated data in the same table as it is only one line per association |
# |
Sep 12th 2019, 16:40 |
jh |
because every query only returns one "table" |
# |
Sep 12th 2019, 16:40 |
jh |
if it is hasMany it has to run another query |
# |
Sep 12th 2019, 16:39 |
jh |
if it is hasOne or belongsTo it can be done via a JOIN aka same query |
# |
Sep 12th 2019, 16:39 |
this.impetus |
HasMany, here |
# |
Sep 12th 2019, 16:39 |
jh |
@this.impetus it depends on the type of association |
# |
Sep 12th 2019, 16:39 |
jh |
if that was the case you could do that by widget on your website |
# |
Sep 12th 2019, 16:39 |
this.impetus |
Quick syntactic question; is this three queries ``` contain('Services', 'Services.Institutions' => ['fields'=> ['title']], 'Services.Serviceroles' => ['fields'=> ['title']])``` or is that just elaborating on exactly how I want `Services` and it's associations contained? |
# |
Sep 12th 2019, 16:38 |
jh |
now sadly there are no declarative shadow doms |
# |
Sep 12th 2019, 16:38 |
jh |
creating reset and default stylesheets that never annoy you |
# |
Sep 12th 2019, 16:38 |
jh |
you can basicall define defaults that have 0 specificity |
# |
Sep 12th 2019, 16:38 |
jh |
https://github.com/w3c/csswg-drafts/issues/2143 |
# |
Sep 12th 2019, 16:38 |
jh |
here is something that will mean you can drop a lot of the preprocessing |
# |
Sep 12th 2019, 16:37 |
this.impetus |
we are all sinners on this Earth |
# |
Sep 12th 2019, 16:36 |
jh |
SCSS i hope :P |
# |
Sep 12th 2019, 16:36 |
jh |
SASS :( |
# |
Sep 12th 2019, 16:36 |
this.impetus |
haha inoas you are vastly overestimating my knowledge brother. talk to me about SASS frameworks and I can dance. |
# |
Sep 12th 2019, 16:36 |
jh |
there is also lazy association loading plugin which would fire queries once you access associations of entities on the fly |