Closed (outdated)
Project:
Devel PHP
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Sep 2017 at 22:55 UTC
Updated:
8 Sep 2020 at 21:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
akalata commentedI'm having the same issue on 8.x-1.0 where I wasn't yesterday. I'm digging into what else the other devs on my project may have updated -- but I'm guessing it's not coming from Devel/Kint.Edit: I take that back; I was using 8.x-1.0-rc2 yesterday. Upgrading to 8.x-1.0 produces the issue.
Comment #3
pasqualle#2902483: JS errors when using kint() marked as duplicate
Comment #4
manuel garcia commentedYeah just confirming this. I know people use fancy IDEs and xdebug so this is probably low on the priority list, but /devel/php is pretty handy for testing out a few things etc. Willing to put in the time here, any direction we should take?
My guess is that its because ExecutePHP::submitForm() calls dpm() directly:
Comment #5
manuel garcia commentedHere is a petty attempt at getting the ball rolling.
Ideally we should shoot to revamp this page and integrate it properly with kint modue. For now, with this patch, if you have kint enabled, return what you want to debug and it will be displayed with ksm().
Comment #7
joelstein commentedThanks for the patch! That solution worked perfectly for me.
Comment #8
stefan.kornYes ksm() did the trick for me too. Thanks.
Maybe do the patch like this and depend on "variables dumper" that is chosen on admin/config/development/devel.
Comment #9
moshe weitzman commented[#3005475: Remove Execute PHP feature]
Comment #10
stefan.korn@moshe weitzman: So it is already decided that "devel execute PHP" will be removed? From3005475 it seems that only a change in README is about to be made?
I see the risks coming with this feature and agree that this feature is not suitable for use on production sites, but on the other hand it is a very handy feature for developers i. e. for testing out code snippets on the fly.
Comment #11
geek-merlinCode moved due to #3005475-15: Remove Execute PHP feature.
Comment #12
geek-merlinComment #13
grimreaperHello,
For people having errors, do you have tried to change the "Variables Dumper" settings on /admin/config/development/devel without changing devel_php code?
Because either by using dpm() or devel.dumper service's message() method, it will use this config, so maybe there is no need like in comment 8 to get this config and make an if or switch statement.
Comment #14
grimreaperHello,
Without reply I am closing the issue.
Feel free to reopen if needed.
Regards,