Fatal error: Uncaught Error: Call to undefined function logToFile() in /home/ivy/public_html/wp-content/plugins/smartpaycart/includes/frontend/lib/functions_fe.php:217 Stack trace: #0 /home/ivy/public_html/wp-includes/shortcodes.php(434): spcShortcode(Array, '', 'SmartPayCart') #1 [internal function]: do_shortcode_tag(Array) #2 /home/ivy/public_html/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(SmartP...', 'do_shortcode_ta...', '[SmartPayCart c...') #3 /home/ivy/public_html/wp-content/plugins/elementor/includes/widgets/shortcode.php(141): do_shortcode('[SmartPayCart c...') #4 /home/ivy/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(2374): Elementor\Widget_Shortcode->render() #5 /home/ivy/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(636): Elementor\Controls_Stack->render_by_mode() #6 /home/ivy/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(774): Elementor\Widget_Base->render_content() #7 /home/ivy/public_html/wp-content/plugins/elementor/includes/base/element-base.php(494): Elementor\Widget_Base->print_content() #8 /home/ivy/public_html/wp-content/plugins/elementor/modules/element-cache/module.php(71): Elementor\Element_Base->print_element() #9 /home/ivy/public_html/wp-includes/shortcodes.php(434): Elementor\Modules\ElementCache\Module->Elementor\Modules\ElementCache\{closure}(Array, '', 'elementor-eleme...') #10 [internal function]: do_shortcode_tag(Array) #11 /home/ivy/public_html/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(elemen...', 'do_shortcode_ta...', '\t\t<section clas...') #12 /home/ivy/public_html/wp-content/plugins/elementor/core/base/document.php(1870): do_shortcode('\t\t<section clas...') #13 /home/ivy/public_html/wp-content/plugins/elementor/core/base/document.php(1203): Elementor\Core\Base\Document->print_elements(Array) #14 /home/ivy/public_html/wp-content/plugins/elementor/includes/frontend.php(1193): Elementor\Core\Base\Document->print_elements_with_wrapper(Array) #15 /home/ivy/public_html/wp-content/plugins/elementor/includes/frontend.php(1088): Elementor\Frontend->get_builder_content(82693) #16 /home/ivy/public_html/wp-includes/class-wp-hook.php(341): Elementor\Frontend->apply_builder_in_content('<img src="https...') #17 /home/ivy/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('<img src="https...', Array) #18 /home/ivy/public_html/wp-includes/post-template.php(256): apply_filters('the_content', '<img src="https...') #19 /home/ivy/public_html/wp-content/plugins/elementor/modules/page-templates/module.php(188): the_content() #20 [internal function]: Elementor\Modules\PageTemplates\Module->print_callback() #21 /home/ivy/public_html/wp-content/plugins/elementor/modules/page-templates/module.php(205): call_user_func(Array) #22 /home/ivy/public_html/wp-content/plugins/elementor/modules/page-templates/templates/canvas.php(41): Elementor\Modules\PageTemplates\Module->print_content() #23 /home/ivy/public_html/wp-includes/template-loader.php(125): include('/home/ivy/publi...') #24 /home/ivy/public_html/wp-blog-header.php(19): require_once('/home/ivy/publi...') #25 /home/ivy/public_html/index.php(17): require('/home/ivy/publi...') #26 {main} thrown in /home/ivy/public_html/wp-content/plugins/smartpaycart/includes/frontend/lib/functions_fe.php on line 217