Solutions for errors when installing the LingHang Theme

If you encounter this error when installing the LingHang Theme: Fatal error: Uncaught Error: Call to undefined function Carbon_Fields\Helper\mb_convert_case()

Don't worry, this is not a theme issue; it's simply because the mbstring extension is not installed for PHP on your server.

Solution

If you installed the BT-Panel environment yourself, you can log in to the BT-Panel Admin Dashboard, go to Software Store → Installed → Your installed PHP version → Install the mbstring extension, and then the Theme will work normally.

Snipaste 2025 11 27 13 03

If you purchased Shared Hosting, this extension is usually enabled by default. If it is not enabled, please contact customer service to enable it for you.

What is mbstring?

mbstringThe extension provides multibyte string handling functions for PHP, which are crucial for the following operations:

  • Handling non-ASCII characters (such as Chinese characters)
  • Performing string case conversion for international text
  • Correct text encoding / decoding