Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Pressflow 6.22
Perform a sitename/update.php and you get this error page:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'block_skinr_data' not found or invalid function name in module_invoke_all() (line 507 of /var/www/virtual/peterbowey.com.au/includes/module.inc).
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'comment_skinr_data' not found or invalid function name in module_invoke_all() (line 507 of /var/www/virtual/peterbowey.com.au/includes/module.inc).
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'node_skinr_data' not found or invalid function name in module_invoke_all() (line 507 of /var/www/virtual/peterbowey.com.au/includes/module.inc).
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'views_skinr_data' not found or invalid function name in module_invoke_all() (line 507 of /var/www/virtual/peterbowey.com.au/includes/module.inc).
Errors do not occur for other Drupal sections, just UPDATE.PHP
Comments
Comment #1
Peter Bowey CreditAttribution: Peter Bowey commentedI have created a "Crude" solution:
Code changes in skinr.module: (see 3 new lines with '+')
Why do I need do this obvious hack?
Comment #2
Peter Bowey CreditAttribution: Peter Bowey commentedComment #3
moonray CreditAttribution: moonray commentedThat is actually the correct fix; core uses the same fix in some places. We've had this in the D7 version for a while. Not sure why it never got added to the D6 branch.
Comment #4
Peter Bowey CreditAttribution: Peter Bowey commentedRefer #3
Thanks moonray,
Good to have it now declared public for other skinr D6 users!
Comment #5
moonray CreditAttribution: moonray commentedThis was added with another patch. Fixed.