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.
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...
Comment | File | Size | Author |
---|---|---|---|
#5 | ms_products_translate_plan-2881211-5.patch | 660 bytes | vaccinemedia |
| |||
#2 | ms_products_translate_plan-2881211-2.patch | 765 bytes | vaccinemedia |
|
Comments
Comment #2
vaccinemedia CreditAttribution: vaccinemedia at CTI Digital commentedAttaching 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.
Comment #3
vaccinemedia CreditAttribution: vaccinemedia at CTI Digital commentedComment #4
vaccinemedia CreditAttribution: vaccinemedia at CTI Digital commentedOn 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.
Comment #5
vaccinemedia CreditAttribution: vaccinemedia at CTI Digital commentedHere's a new patch which simply deals with the line which references the missing function rather than adding in the missing function.
Comment #6
Farreres CreditAttribution: Farreres commentedApplied second patch to dev.
Comment #7
Kris77 CreditAttribution: Kris77 commentedThanks @vaccinemedia,
I have applied #5 in 7.x-10.4 and it seems to work.
Comment #8
Anonymous (not verified) CreditAttribution: Anonymous as a volunteer commented