Skip to Content Skip to Menu

Subscriptions error Call to undefined function iconv()

  • autobahn
  • autobahn
  • OFFLINE
  • Posts: 202
  • Thanks: 38
  • Karma: 4
6 years 7 months ago #303329 by autobahn
We have recently been getting this problem when using Paid Subscriptions/Subscriptions.

In an ideal world members would do their renewals themselves online, but some don't and they have to be done at the back-end by the Membership Secretary. He finds the relevant member in Paid Subscriptions/Subscriptions, clicks on the Username to get to their subscription profile then either Renew or Reactivate before clicking Save and Close. Instead of getting an 'update successful' message he gets a page that says:

An error has occurred

Call to undefined function iconv()

Return to Control Panel


He clicks on Return to Control Panel and is duly taken there. If he then returns to the member's profile the renewal has been done successfully and all looks well. There is, however, no corresponding entry in the history logs. This seems to have been happening since 21st March 2018.

I have just updated to CBSubs 4.2.0 and during my post-update checks deleted a subscription with an 'Invalid' status via Paid Subscriptions/Subscriptions and had the same result - error message but the delete was actioned - again no entry in the history logs.

There don't appear to have been any entries in the history logs since 3 March 2018. I have done all the CB tables checks and all seems OK.

Screenshot of error attached.
Attachments:

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • OFFLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
6 years 7 months ago #303334 by krileon
iconv PHP extension isn't loaded. If you've access to php.ini for your server then you can uncomment it if it's there otherwise contact your host. It's used to enforce UTF8 encoding for some strings.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • autobahn
  • autobahn
  • OFFLINE
  • Posts: 202
  • Thanks: 38
  • Karma: 4
6 years 7 months ago #303341 by autobahn
Thank you for the quick reply. I've passed the problem on to my hosting provider.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum