Hi,

I get the following error using version 6.x-1.8:
PHP Fatal error: Call to undefined function profile_user_categories() in profile_fields.inc on line 4

For what I was looking in the issues queue, there was an error on Drupal 7 version that did not had this adjusted and actually was getting the same issue in the same place for calling profile_categories() function, because it was not migrated to Drupal 7 and it was using the call of Drupal 6, so it seems to me that when this got adjusted for Drupal 7 version it also got adjusted for Drupal 6 version and it should not.

I'll post the patch in a few

Nestor

Comments

nestor.mata’s picture

Status: Active » Needs review
StatusFileSize
new724 bytes

Here is a patch to solve this problem on D6

Nestor

Laura Davila’s picture

Hi, I am running into this error, too. However, this patch did not seem to have any effect. This was the message I came across

> patch -p0 -b < ctools_wrong_functioncall-1434284-1.patch
  Looks like a unified context diff.

Help please! I cannot find any other relevant issue to help solve this problem! Just to be clear, this is the problem I am facing:

Fatal error: Call to undefined function profile_categories() in .../sites/all/modules/ctools/plugins/content_types/user_context/profile_fields.inc on line 4

Any advice would be amazing.

Status: Needs review » Needs work

The last submitted patch, ctools_wrong_functioncall-1434284-1.patch, failed testing.