When visiting ?q=admin/node/types the following PHP Warning is repeated six times. The Drupal site has 2 CCK node types defined.

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of content_db_construct_column_type(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /var/www/html/drupal-4.7/modules/cck/content_admin.inc on line 955

The database structure/content is right up to date according to update.php too.

Comments

budda’s picture

Priority: Normal » Critical

These errors hinder CCK from working, upon trying to add fields the warning output causes

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/drupal-4.7/modules/cck/content_admin.inc:955) in /var/www/html/drupal-4.7/includes/common.inc on line 266

amitaibu’s picture

I got almost the same problem - three warnings referring to line 995, and the other three to line 1000.
For example: http://www.gizra-software.com/muslina/admin/node/types

RobRoy’s picture

Status: Active » Closed (duplicate)

This is a duplicate of my issue which has a patch. Go review the patch and see if it fixes your problem.

http://drupal.org/node/81599

amitaibu’s picture

Thank you for the quick answer! (and for the patch of course...)