yiisoft / yii2-debug

Debug Extension for Yii 2
http://www.yiiframework.com
BSD 3-Clause "New" or "Revised" License
202 stars 150 forks source link

Uncaught TypeError: Cannot read property 'substr' of null at XMLHttpRequest.open #326

Closed mbraidy closed 5 years ago

mbraidy commented 6 years ago

What steps will reproduce the problem?

Whenever I refresh the page I get this error twice and this is produced by toolbar.js line 273 if (url.substr(0, 1) === '/' && !url.match(new RegExp("{{ excluded_ajax_paths }}"))) {

What's expected?

The page to display with no error

What do you get instead?

Two errors

Additional info

Q A
Yii version 2.0.15.1
PHP version 7.2
Operating system Ubuntu 18.04 - 4.15.0-22 - x86_64 GNU/Linux