Skip to content
Fatal error: Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /srv/users/hgh/apps/hgh/public/wp-content/plugins/code-snippets/php/snippet-ops.php(582) : eval()'d code:8
Stack trace:
#0 /srv/users/hgh/apps/hgh/public/wp-content/plugins/code-snippets/php/snippet-ops.php(582) : eval()'d code(8): round('')
#1 /srv/users/hgh/apps/hgh/public/wp-includes/class-wp-hook.php(326): round_price_product('')
#2 /srv/users/hgh/apps/hgh/public/wp-includes/plugin.php(256): WP_Hook->apply_filters('', Array)
#3 /srv/users/hgh/apps/hgh/public/wp-content/plugins/woocommerce/includes/class-wc-deprecated-filter-hooks.php(146): apply_filters_ref_array('woocommerce_get...', Array)
#4 /srv/users/hgh/apps/hgh/public/wp-content/plugins/woocommerce/includes/class-wc-deprecated-filter-hooks.php(133): WC_Deprecated_Filter_Hooks->trigger_hook('woocommerce_get...', Array)
#5 /srv/users/hgh/apps/hgh/public/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-deprecated-hooks.php(75): WC_Deprecated_Filter_Hooks->handle_deprecated_hook('woocommerce_pro...', 'woocommerce_get...', Array, '')
#6 /srv/users/hgh/apps/hgh/public/wp-includes/class-wp-hook.php(324): WC_Deprecated_Hooks->maybe_handle_deprecated_hook('', Object(WC_Product_Variable))
#7 /srv/users/hgh/apps/hgh/public/wp-includes/plugin.php(205): WP_Hook->apply_filters('', Array)
#8 /srv/users/hgh/apps/hgh/public/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(884): apply_filters('woocommerce_pro...', '', Object(WC_Product_Variable))
#9 /srv/users/hgh/apps/hgh/public/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(270): WC_Data->get_prop('price', 'view')
#10 /srv/users/hgh/apps/hgh/public/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(1624): WC_Product->get_price()
#11 /srv/users/hgh/apps/hgh/public/wp-content/plugins/woocommerce/includes/wc-template-functions.php(554): WC_Product->is_purchasable()
#12 /srv/users/hgh/apps/hgh/public/wp-includes/class-wp-hook.php(324): wc_product_post_class(Array, Array, 398656)
#13 /srv/users/hgh/apps/hgh/public/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
#14 /srv/users/hgh/apps/hgh/public/wp-includes/post-template.php(605): apply_filters('post_class', Array, Array, 398656)
#15 /srv/users/hgh/apps/hgh/public/wp-content/themes/generatepress/inc/class-html-attributes.php(475): get_post_class(Array, Object(WP_Post))
#16 /srv/users/hgh/apps/hgh/public/wp-content/themes/generatepress/inc/class-html-attributes.php(121): GeneratePress_HTML_Attributes->woocommerce_content(Array)
#17 /srv/users/hgh/apps/hgh/public/wp-includes/class-wp-hook.php(324): GeneratePress_HTML_Attributes->parse_attributes(Array, 'woocommerce-con...', Array)
#18 /srv/users/hgh/apps/hgh/public/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
#19 /srv/users/hgh/apps/hgh/public/wp-content/themes/generatepress/inc/theme-functions.php(683): apply_filters('generate_parse_...', Array, 'woocommerce-con...', Array)
#20 /srv/users/hgh/apps/hgh/public/wp-content/themes/generatepress/inc/theme-functions.php(699): generate_parse_attr('woocommerce-con...', Array, Array)
#21 /srv/users/hgh/apps/hgh/public/wp-content/themes/generatepress/inc/theme-functions.php(745): generate_get_attr('woocommerce-con...', Array, Array)
#22 /srv/users/hgh/apps/hgh/public/wp-content/themes/generatepress/inc/plugin-compat.php(65): generate_do_attr('woocommerce-con...')
#23 /srv/users/hgh/apps/hgh/public/wp-includes/class-wp-hook.php(324): generate_woocommerce_start('')
#24 /srv/users/hgh/apps/hgh/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#25 /srv/users/hgh/apps/hgh/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#26 /srv/users/hgh/apps/hgh/public/wp-content/plugins/woocommerce/templates/single-product.php(31): do_action('woocommerce_bef...')
#27 /srv/users/hgh/apps/hgh/public/wp-includes/template-loader.php(106): include('/srv/users/hgh/...')
#28 /srv/users/hgh/apps/hgh/public/wp-blog-header.php(19): require_once('/srv/users/hgh/...')
#29 /srv/users/hgh/apps/hgh/public/index.php(17): require('/srv/users/hgh/...')
#30 {main}
thrown in /srv/users/hgh/apps/hgh/public/wp-content/plugins/code-snippets/php/snippet-ops.php(582) : eval()'d code on line 8