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\

Fix: In the file \openpublic\includes\, 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/

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.

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

Содержимое данного поля является приватным и не предназначено для показа.
 .d888b.   88888888b   88888888b  d88888P  dP     dP 
Y8' `88 88 88 d8' 88 .d8'
`8bad88 a88aaaa a88aaaa d8' 88aaa8P'
`88 88 88 d8' 88 `8b.
d. .88 88 88 d8' 88 88
`8888P dP dP d8' dP dP

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