( ! ) Fatal error: Uncaught Error: Call to a member function get_attribute() on null in /home/spaziogallery.it/public_html/wp-content/plugins/oxygen_old/component-framework/components/classes/code-block.class.php(133) : eval()'d code on line 25
( ! ) Error: Call to a member function get_attribute() on null in /home/spaziogallery.it/public_html/wp-content/plugins/oxygen_old/component-framework/components/classes/code-block.class.php(133) : eval()'d code on line 25
Call Stack
#TimeMemoryFunctionLocation
10.0003359048{main}( ).../index.php:0
20.0004359408require( '/home/spaziogallery.it/public_html/wp-blog-header.php' ).../index.php:17
33.3811170722144require_once( '/home/spaziogallery.it/public_html/wp-includes/template-loader.php' ).../wp-blog-header.php:19
43.4393172072704include( '/home/spaziogallery.it/public_html/wp-content/plugins/oxygen_old/component-framework/oxygen-main-template.php' ).../template-loader.php:106
53.4395172073456wp_head( ).../oxygen-main-template.php:10
63.4395172073456do_action( ).../general-template.php:3052
73.4395172073832WP_Hook->do_action( ).../plugin.php:517
83.4395172073832WP_Hook->apply_filters( ).../class-wp-hook.php:348
93.5590173577568oxy_print_cached_css( ).../class-wp-hook.php:324
103.5603173625672do_action( ).../component-init.php:1218
113.5603173626048WP_Hook->do_action( ).../plugin.php:517
123.5603173626048WP_Hook->apply_filters( ).../class-wp-hook.php:348
133.6916173672728ct_templates_buffer_start( ).../class-wp-hook.php:324
143.6916173674456ct_template_output( ).../templates.php:183
153.6951173843632do_oxygen_elements( ).../templates.php:109
163.8742174621304CT_Section->add_shortcode( ).../templates.php:76
173.8761174656824do_oxygen_elements( ).../section.class.php:70
183.8762174657456CT_DIV_Block->add_shortcode( ).../templates.php:76
193.8778174693208do_oxygen_elements( ).../div-block.class.php:48
203.8796174760536Oxygen_VSB_Dynamic_List->add_shortcode( ).../templates.php:76
213.8844174955088do_oxygen_elements( ).../dynamic-list.class.php:884
223.8845174955720CT_DIV_Block->add_shortcode( ).../templates.php:76
233.8863174991616do_oxygen_elements( ).../div-block.class.php:48
243.8863174992248CT_DIV_Block->add_shortcode( ).../templates.php:76
253.8880175028912do_oxygen_elements( ).../div-block.class.php:48
263.8924175038576CT_Code_Block->add_shortcode( ).../templates.php:76
273.8946175089184eval( ' ?> get_attribute('taglia'); if (!empty($size_attribute)) { $terms = wc_get_product_terms($product->get_id(), 'pa_taglia', array('fields' => 'names')); echo '
'; foreach ($terms as $term) { $variation_id = $product->get_variation_id(array('attribute_pa_taglia' => sanitize_title($term))); $stock_status = $variation_id ? get_post_meta($variation_id, '_stock_status', true) : 'outofstock'; $link = esc_url(add_query_arg('add-to-cart', $product->get_id(), get_permalink($product->get_id()))); $link = esc_url(add_query_arg('variation_id', wc_get_product_id_by_sku($term), $link)); $link = esc_url(add_query_arg('attribute_pa_taglia', sanitize_title($term), $link)); $class = ($stock_status === 'outofstock') ? ' class="product-size-link unavailable"' : ' class="product-size-link"'; echo '' . $term . ''; } echo '
'; } ?> )
.../code-block.class.php:133
WordPress › Errore

Si è verificato un errore critico sul tuo sito web.

Scopri di più riguardo la risoluzione dei problemi in WordPress.