Skip to content
Fatal error: Uncaught Error: Call to a member function is_in_stock() on null in /srv/vhost/cexco.es/home/html/wp-content/themes/hello-theme-child-master/functions.php:64
Stack trace:
#0 /srv/vhost/cexco.es/home/html/wp-includes/class-wp-hook.php(355): woocommerce_add_to_cart_button_text_archives()
#1 /srv/vhost/cexco.es/home/html/wp-includes/plugin.php(206): WP_Hook->apply_filters()
#2 /srv/vhost/cexco.es/home/html/wp-content/plugins/woocommerce/includes/class-wc-product-simple.php(64): apply_filters()
#3 /srv/vhost/cexco.es/home/html/wp-content/plugins/woocommerce/src/StoreApi/Schemas/V1/ProductSchema.php(644): WC_Product_Simple->add_to_cart_text()
#4 [internal function]: Automattic\WooCommerce\StoreApi\Schemas\V1\ProductSchema->get_item_response()
#5 /srv/vhost/cexco.es/home/html/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/AbstractProductGrid.php(117): array_map()
#6 /srv/vhost/cexco.es/home/html/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/AbstractBlock.php(101): Automattic\WooCommerce\Blocks\BlockTypes\AbstractProductGrid->render()
#7 /srv/vhost/cexco.es/home/html/wp-includes/class-wp-block.php(665): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->render_callback()
#8 /srv/vhost/cexco.es/home/html/wp-includes/class-wp-block.php(629): WP_Block->render()
#9 /srv/vhost/cexco.es/home/html/wp-includes/class-wp-block.php(629): WP_Block->render()
#10 /srv/vhost/cexco.es/home/html/wp-includes/blocks.php(2514): WP_Block->render()
#11 /srv/vhost/cexco.es/home/html/wp-includes/blocks.php(2597): render_block()
#12 /srv/vhost/cexco.es/home/html/wp-includes/class-wp-hook.php(353): do_blocks()
#13 /srv/vhost/cexco.es/home/html/wp-includes/plugin.php(206): WP_Hook->apply_filters()
#14 /srv/vhost/cexco.es/home/html/wp-content/plugins/elementor-pro/modules/posts/skins/skin-content-base.php(281): apply_filters()
#15 /srv/vhost/cexco.es/home/html/wp-content/plugins/elementor-pro/modules/theme-builder/widgets/post-content.php(117): ElementorPro\Modules\ThemeBuilder\Widgets\Post_Content->render_post_content()
#16 /srv/vhost/cexco.es/home/html/wp-content/plugins/elementor/includes/base/controls-stack.php(2381): ElementorPro\Modules\ThemeBuilder\Widgets\Post_Content->render()
#17 /srv/vhost/cexco.es/home/html/wp-content/plugins/elementor/includes/base/widget-base.php(637): Elementor\Controls_Stack->render_by_mode()
#18 /srv/vhost/cexco.es/home/html/wp-content/plugins/elementor/includes/base/widget-base.php(810): Elementor\Widget_Base->render_content()
#19 /srv/vhost/cexco.es/home/html/wp-content/plugins/elementor/includes/base/element-base.php(522): Elementor\Widget_Base->print_content()
#20 /srv/vhost/cexco.es/home/html/wp-content/plugins/elementor/modules/element-cache/module.php(69): Elementor\Element_Base->print_element()
#21 /srv/vhost/cexco.es/home/html/wp-includes/shortcodes.php(434): Elementor\Modules\ElementCache\Module->{closure:Elementor\Modules\ElementCache\Module::register_shortcode():49}()
#22 [internal function]: do_shortcode_tag()
#23 /srv/vhost/cexco.es/home/html/wp-includes/shortcodes.php(273): preg_replace_callback()
#24 /srv/vhost/cexco.es/home/html/wp-content/plugins/elementor/core/base/document.php(1911): do_shortcode()
#25 /srv/vhost/cexco.es/home/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(466): Elementor\Core\Base\Document->print_elements()
#26 /srv/vhost/cexco.es/home/html/wp-content/plugins/elementor/includes/frontend.php(1223): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_elements_with_wrapper()
#27 /srv/vhost/cexco.es/home/html/wp-content/plugins/elementor/core/base/document.php(1284): Elementor\Frontend->get_builder_content()
#28 /srv/vhost/cexco.es/home/html/wp-content/plugins/elementor/modules/library/documents/library-document.php(82): Elementor\Core\Base\Document->get_content()
#29 /srv/vhost/cexco.es/home/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(167): Elementor\Modules\Library\Documents\Library_Document->get_content()
#30 /srv/vhost/cexco.es/home/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(182): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->get_content()
#31 /srv/vhost/cexco.es/home/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/single-base.php(100): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_content()
#32 /srv/vhost/cexco.es/home/html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/locations-manager.php(452): ElementorPro\Modules\ThemeBuilder\Documents\Single_Base->print_content()
#33 /srv/vhost/cexco.es/home/html/wp-content/plugins/elementor-pro/modules/theme-builder/api.php(13): ElementorPro\Modules\ThemeBuilder\Classes\Locations_Manager->do_location()
#34 /srv/vhost/cexco.es/home/html/wp-content/themes/hello-elementor/index.php(19): elementor_theme_do_location()
#35 /srv/vhost/cexco.es/home/html/wp-includes/template-loader.php(132): include('...')
#36 /srv/vhost/cexco.es/home/html/wp-blog-header.php(19): require_once('...')
#37 /srv/vhost/cexco.es/home/html/index.php(17): require('...')
#38 {main}
thrown in /srv/vhost/cexco.es/home/html/wp-content/themes/hello-theme-child-master/functions.php on line 64