I'm getting the following error when attempting to view the approval queue:

Fatal error: Call to undefined function ms_products_translate_plan() in /var/www/vhosts/name-of-site.com/httpdocs/sites/all/modules/contrib/moneysuite/ms_paypublish/ms_paypublish.module on line 1027

Searching for the function in the moneysuite folder only brings up the call for it and not the function itself...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

vaccinemedia created an issue. See original summary.

vaccinemedia’s picture

Attaching a patch which adds the missing function. The code was taken from here:
http://www.ibrattleboro.com/sites/all/modules/ms_core/ms_products/ms_pro... where there could be a number of functions which are missing from moneysuite so there could be more work to do but this patch fixes this particular issue.

vaccinemedia’s picture

Status: Active » Needs review
vaccinemedia’s picture

On further inspection the function in the above patch is from a 6.x version of moneyscripts but still fixes the issue but it may be better to replace the call to the missing function with a cal to ms_core_translate.

vaccinemedia’s picture

Here's a new patch which simply deals with the line which references the missing function rather than adding in the missing function.

Farreres’s picture

Applied second patch to dev.

Kris77’s picture

Thanks @vaccinemedia,
I have applied #5 in 7.x-10.4 and it seems to work.

Anonymous’s picture

Status: Needs review » Reviewed & tested by the community