Installed the latest dev and getting this notice in logs

Notice: Use of undefined constant LOCALE_LANGUAGE_NEGOTIATION_URL_PREFIX - assumed 'LOCALE_LANGUAGE_NEGOTIATION_URL_PREFIX' in boost_parse_url() (line 398 of .../sites/all/modules/boost/boost.module).

Related issue: #1364090: Warning: array_shift() expects parameter 1 to be array, string given in boost_boost_menu_router(), in several places This notice was reported as fixed but I am still seeing it.

PS: I don't have internationalization module enabled or installed

Comments

mobweb’s picture

Had this problem as well, it went away when I simply enabled another language. I was going to implement multiple languages anyway, so no problem there. But the error seems to occur when locale.inc isn't loaded. And it seems that file doesn't get loaded unless multiple languages are enabled.

mobweb’s picture

Issue summary: View changes

clarify

TarKHaoS’s picture

Maybe you have a bug with configuration of Global Redirect.
Try to go to admin/config/system/globalredirect and uncheck "Language Path Checking" option.

dqd’s picture

Issue summary: View changes

Confirmed. - Just to inform others: it's indeed caused from what @TarKHaoS has mentioned. We can reproduce it here.

aloknarwaria’s picture

Most of the time I have seen this issue because of disable the module where the constant is define. To fix the issue you have to check the constant is defined or not.
$lang = (TRUE === defined('LOCALE_LANGUAGE_NEGOTIATION_URL_PREFIX'))? LOCALE_LANGUAGE_NEGOTIATION_URL_PREFIX : 0;