I have installed the latest drupal core 7.22 multiple times to find a solution to this problem. When I install a fresh copy without added modules it functions well and I can create custom content types, but when I install modules I start having problems. On the latest test version I had no problems, but when I installed the Devel module I got this “Notice: Undefined index: status in _block_rehash() (line 435 of C:\xampp\htdocs\www\drupal_722_new\modules\block\block.module).” Though I had no problems creating a content type. But when I install Views and Chaos tool modules and create new content types I get this message “Fatal error: Only variables can be passed by reference in C:\xampp\htdocs\www\drupal_722_new\includes\menu.inc on line 1355”. When I use the back arrow to get back to the structure page I get this massage “Warning: Illegal string offset 'tree' in menu_build_tree() (line 1355 of C:\xampp\htdocs\www\drupal_722_new\includes\menu.inc). Clicking to content and back to structure clears it. Though, going from the back arrow to the structure page and the selecting content on the menu I get this “
• Warning: Illegal string offset 'tree' in menu_build_tree() (line 1355 of C:\xampp\htdocs\www\drupal_722_new\includes\menu.inc).
• Warning: Illegal string offset 'tree' in menu_build_tree() (line 1355 of C:\xampp\htdocs\www\drupal_722_new\includes\menu.inc).”
From then on when I select Structure on the menu all I get is this massage “Fatal error: Only variables can be passed by reference in C:\xampp\htdocs\www\drupal_722_new\includes\menu.inc on line 1355”, and on other times the warning above.
I am currently using win 7(64bt), and I use XAMPP 1.8.1, PHP: 5.4.7

Comments

PenguinPie’s picture

Priority: Major » Normal

I solved some of this problem by adding the "htaccess-1962780-3.patch", but I’m still getting this when I try to create new content types. Has anyone have a suggestion?

( ! ) Fatal error: Only variables can be passed by reference in C:\xampp\htdocs\www\ohkabushkai\includes\menu.inc on line 1355
Call Stack
# Time Memory Function Location
1 0.0009 139872 {main}( ) ..\index.php:0
2 0.3784 14295936 menu_execute_active_handler( ) ..\index.php:21
3 0.3788 14296584 call_user_func_array ( ) ..\menu.inc:517
4 0.3788 14296816 ctools_export_ui_switcher_page( ) ..\menu.inc:517
5 0.3790 14297400 call_user_func_array ( ) ..\export-ui.inc:469
6 0.3790 14297632 ctools_export_ui->add_page( ) ..\export-ui.inc:469
7 0.3792 14300048 ctools_export_ui->edit_execute_form( ) ..\ctools_export_ui.class.php:667
8 0.3792 14300080 ctools_export_ui->edit_execute_form_standard( ) ..\ctools_export_ui.class.php:770
9 0.3792 14300176 drupal_build_form( ) ..\ctools_export_ui.class.php:780
10 0.3792 14302008 drupal_retrieve_form( ) ..\form.inc:339
11 0.3793 14302744 call_user_func_array ( ) ..\form.inc:798
12 0.3793 14302976 ctools_export_ui_edit_item_form( ) ..\form.inc:798
13 0.3808 14304472 ctools_export_ui->edit_form( ) ..\ctools_export_ui.class.php:1371
14 0.3809 14305632 context_ui_form( ) ..\ctools_export_ui.class.php:1073
15 0.3812 14314768 context_condition_menu->condition_form( ) ..\context_export_ui.class.php:176
16 0.3812 14314784 context_condition->condition_form( ) ..\context_condition_menu.inc:43
17 0.3812 14314992 context_condition_menu->condition_values( ) ..\context_condition.inc:52
18 0.3827 14318576 menu_parent_options( ) ..\context_condition_menu.inc:12
19 0.3827 14318648 _menu_get_options( ) ..\menu.module:381
20 0.3937 14611056 menu_tree_all_data( ) ..\menu.module:415
21 0.3949 14612128 menu_build_tree( ) ..\menu.inc:1147

PenguinPie’s picture

Status: Active » Closed (fixed)

The issue was corrected by reverting to an earlier version of exampp. What the problem is I am still investigating. But at this stage I’m happily developing.

PenguinPie’s picture

Issue summary: View changes

Updated the test version "drupal_722_new" to reflect the sample massage data