On the onepageprofile.module file, line 48 there is a directive to a missing function.

// Add the categories
$categories = _onepageprofile_get_categories(); <--------
$tree = &$form['onepageprofile_categories'];

When trying to load the settings page on admin/settings/onepageprofile i get the following error:

Fatal error: Call to undefined function _onepageprofile_get_categories() in /var/www/htdocs/sites/all/modules/onepageprofile/onepageprofile.module on line 48.

I have tried to implement the code using profile_categories() function instead with no luck. Maybe the missing function has not been commited yet?

Comments

pnigro’s picture

subscribing

nevron’s picture

Status: Active » Needs work
roball’s picture

Status: Needs work » Active

The status "needs work" is usually only set when a patch has been attached to an issue which needs work. Thus, setting the status back to "active".

aidanlis’s picture

Status: Active » Fixed

Not sure how this happened - when I cvs committed a whole function was removed from the end of the file. I had to rewrite that function from memory. Please see the new version and apologies for the inconvenience.

roball’s picture

Yeah aidanlis, v1.8 finally works fine. Great - thank you!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.