Irene Frigerio asked 6 months ago

Good morning Woocommerce one page checkout and layouts Pro.
produces me this error and that blocks the creation of psd from the pdf backand of another plugin that “YITH WooCommerce Multi Vendor / Marketplace” this is the error:

CRITICAL Uncaught Error: Call to undefined function cmb2_get_option() in /var/www/vhosts/
Stack trace:
#0 /var/www/vhosts/ CclwCheckout->cclw_adon_plugin_template()
#1 /var/www/vhosts/ WP_Hook->apply_filters()
#2 /var/www/vhosts/ apply_filters()
#3 /var/www/vhosts/ wc_locate_template()
#4 /var/www/vhosts/ wc_get_template()
#5 /var/www/vhosts/ in /var/www/vhosts/ alla riga 223


1 Answers
Rupinder answered 6 months ago

Hi Irene,
According to your listed issues it seems you are having problems with line no 223.
Which is like $layout = cmb2_get_option( ‘custom_checkout_settings’,’cclw_checkout_layouts’);
I would recommend you to remove or comment this particular line from file plugins/woocommerce-one-page-checkout-and-layouts-pro/woocommerce-one-page-checkout-and-layouts-pro.php

And then test it .Do let me know how it works.

Your Answer