Whenever someone tries to register as a Vendor, while the xstore email builder is active, I get a critical error from wordpress and the site shows “There has been a critical error on this website.”.
The user still gets registered but it shows this error.
Here is the apache error I see:
[Mon May 03 02:53:21.758115 2021] [proxy_fcgi:error] [pid 16493:tid 140638329366272] [client 73.49.91.231:0] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined function VIWEC\\INC\\get_current_screen() in /home/runcloud/webapps/********/wp-content/plugins/et-core-plugin/packages/woocommerce-email-template-customizer/includes/email-builder.php:307\nStack trace:\n#0 /home/runcloud/webapps/********/wp-includes/class-wp-hook.php(292): VIWEC\\INC\\Email_Builder->background_image_style()\n#1 /home/runcloud/webapps/********/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()\n#2 /home/runcloud/webapps/********/wp-includes/plugin.php(484): WP_Hook->do_action()\n#3 /home/runcloud/webapps/********/wp-content/plugins/dokan-lite/includes/Vendor/SetupWizard.php(121): do_action()\n#4 /home/runcloud/webapps/********/wp-content/plugins/dokan-lite/includes/Vendor/SetupWizard.php(102): WeDevs\\Dokan\\Vendor\\SetupWizard->setup_wizard_header()\n#5 /home/runcloud/webapps/********/wp-includes/class-wp-hook.php(292): WeDevs\\Dokan\\Vendor\\Setu…’, referer: https://cjglammarketplace.sitedraft.dev/
when the xstore email builder is turned off, it works perfectly,
However I really need:
— the xstore email builder ( easier for my client)
— for the system to still pull up the dokan marketplace setup screen
to replicate issue, just try signing up as a vendor.
added logins