Hi, we are working it.
Can you please tell me how CMB2 creates problems?
An error occurs after activating the plugin. I tried on different themes.
WordPress 5.3. PHP 7.2.24
Fatal error: Cannot redeclare cmb2_dir() (previously declared in C:\xampp\htdocs\test\wp-content\themes\onfleek\inc\df-core\plugins\cmb2\includes\helper-functions.php:18) in C:\xampp\htdocs\test\wp-content\plugins\wptelegram\includes\cmb2\includes\helper-functions.php on line 21
helper-functions.php:18
function cmb2_dir( $path = '' ) {
return CMB2_DIR . $path;
}
It may be an issue with the theme that it bundles CMB2 in a wrong way. CMB2 is designed to work with multiple plugins/themes and only one instance of CMB2 is loaded. I have been a contributor to CMB2 and I know how it works and how it can go wrong.
I would suggest to contact the theme support and share this message or that link with them.
You can send that error log to our support (@WPTelegramSupport) on Telegram to have a look and help you resolve the issue.
OK. I will write to support. Thanks!