Profile picture for Admin

Installing Drupal 7 Openpublic distribution profile error is encountered:

Notice: Array to string conversion in _menu_router_build() (line 3619 of C:\wamp\www\openpublic\includes\menu.inc)

Fix: In the file \openpublic\includes\menu.inc, find and change below line (around line 36xx)
from: array_multisort($sort, SORT_NUMERIC, $menu, SORT_STRING);
to: array_multisort($sort, SORT_NUMERIC, $menu, SORT_ASC);

Be sure to make a backup of the file first, or uncomment original line by adding // before the line.

This may also be applicable for a specific, similar error:
Notice: Array to string conversion in menu_link_save() (line 3155 of /var/www/xxx/xxx/html/includes/menu.inc)

Another suggestion found elsewhere is to downgrade PHP5.4 to 5.3 if that is the case. Adding additional PHP version in WampServer is easy, for switching back and forth across versions.

Добавить комментарий

Содержимое данного поля является приватным и не предназначено для показа.
  • HTML-теги не обрабатываются и показываются как обычный текст
 dP     dP    .d888888   dP    dP  8888ba.88ba   d88  
88 88 d8' 88 Y8. .8P 88 `8b `8b 88
88aaaaa88a 88aaaaa88a Y8aa8P 88 88 88 88
88 88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88 88
dP dP 88 88 dP dP dP dP d88P

Введите код, изображенный в стиле ASCII-арт.