NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
DBG causes bug in Yii2 - fetching all schema names


Joined: 30 May 2006
Posts: 95
Reply with quote
Hi,

since using PHPEd with DBG and Yii2 I am receiving frustrating error:

Code:
Error: yii\db\mysql\Schema does not support fetching all schema names.


The issue was reported and explained here:
https://github.com/yiisoft/yii2-gii/issues/74

Allegedly PHPEd causes this error by executing some extra SQLs internally in debug mode.
I tested and it is true, that this error won't occur when DBG mode is disabled (means DBG module is installed, but no debug session).
Can you confirm if this is true, or whether this can be fixed?

Using PHP 5.5 + opcache, mysql 5.5.24, windows.
Thank you.
Lubos
View user's profileFind all posts by lubosdzSend private message
Guru master

Joined: 24 Jul 2009
Posts: 737
Reply with quote
My understanding (and experience) is the PhpED debug does not execute anything extra. I debug Yii myself with no issues.

Do you have any watches enabled?

If any watches are enabled, they can inadvertently cause web application code to run out of the intended context and cause strange errors like this. This isn't a unique problem to PhpED DBG, because Xdebug does the same thing.

If you have any watches, trying deleting all of them, or disable the Watches panel (right-click it then Disable).
View user's profileFind all posts by plugnplaySend private message
DBG causes bug in Yii2 - fetching all schema names
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic