Conversation
supportInstalled the plugin and got following error message: Uncaught Error: Call to undefined function mb_strimwidth() in /var/www/wollspiele.com/wp-content/plugins/stonehenge-em-ongoing-events/config/init.php on line 195 create_sub_menu() wp-includes/class-wp-hook.php:288 apply_filters() wp-includes/class-wp-hook.php:312 do_action() wp-includes/plugin.php:478 do_action() wp-content/plugins/stonehenge-em-ongoing-events/config/init.php:36 create_admin_menu() wp-includes/class-wp-hook.php:288 apply_filters() wp-includes/class-wp-hook.php:312 do_action() wp-includes/plugin.php:478 do_action() wp-admin/includes/menu.php:155 require_once() wp-admin/menu.php:326 require() wp-admin/admin.php:153 require_once() wp-admin/index.php:10 Does someone know what this is about?
mb_strimwidth() is a basic PHP function and part of the PHP package that basically limits the length of a string. It should be enabled on the server and is normally by default. I have never heard someone that did not have this module. You will need to contact your ISP to enable it, or (if you have access to your cPanel) you could do it yourself. That is the safest option, because others might use the function as well (as it is normally part of the server configuration). For a quick fix, you can (for now), replace line 195. From: mb_strimwidth( $plugin['short'], 0, 20, '...'), To: $plugin['short'],
Interesting. I installed php-mbstring and now it works. Thank you
Glad it solved. 😉 I hope you’ll enjoy the add-on.
mb_strimwidth() is a basic PHP function and part of the PHP package that basically limits the length of a string. It should be enabled on the server and is normally by default. I have never heard someone that did not have this module. You will need to contact your ISP to enable it, or (if you have access to your cPanel) you could do it yourself. That is the safest option, because others might use the function as well (as it is normally part of the server configuration). For a quick fix, you can (for now), replace line 195. From: mb_strimwidth( $plugin['short'], 0, 20, '...'), To: $plugin['short'],
Interesting. I installed php-mbstring and now it works. Thank you
Glad it solved. 😉 I hope you’ll enjoy the add-on.