Log In
Welcome to Blogiestools Ask, a blogging community where beginner and professional bloggers come to seek answers from other bloggers’ experiences.

You can ask questions related to starting a blog, monetizing a blog, marketing a blog, managing a blog, fixing a problem, the best web tech tools to use, etc.

Register or log in to ask or answer questions.

Ask a Question

0 votes

Hi Here is the error.

Any thoughts on getting this working - being added to child theme functions.php - exactky as your post suggests.

All help is appreciated.


Uncaught ArgumentCountError: Too few arguments to function disable_yoast_json_ld_blogiestools(), 1 passed in wp-includes/class-wp-hook.php on line 307 and exactly 2 expected in wp-content/themes/provenance-hub/functions.php:24
Stack trace:
#0 wp-includes/class-wp-hook.php(307): disable_yoast_json_ld_blogiestools()
#1 wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 wp-content/plugins/wpseo-woocommerce/classes/woocommerce-schema.php(80): apply_filters()
#3 wp-content/plugins/wpseo-woocommerce/classes/woocommerce-seo.php(122): WPSEO_WooCommerce_Schema::should_output_yoast_schema()
#4 wp-includes/class-wp-hook.php(307): Yoast_WooCommerce_SEO->initialize_schema()
#5 wp-includes/class

in WordPress Problems 120 points

1 Answer

0 votes

Which WooCommerce and WordPress versions are you using?. The code to disable Yoast structured data on WooCommece Product pages is still working as expected.

16.2k points

Related questions

1 vote
1 answer
I cannot seem to find a way to disable Yoast SEO schema data
asked Oct 29, 2021 in Fixing Blog Problems anonymous
0 votes
1 answer
Am looking for a solution on how to hide or completely delete Successfully Added to Cart message in WooCoommerce
asked Nov 6, 2021 in WordPress Problems anonymous
0 votes
1 answer
Deprecated functions in PHP 8.20
asked Dec 12, 2022 in General anonymous
0 votes
1 answer
I have a digital marketplace running on WooCommerce. How do I notify vendors when an admin rejects their submitted product?
asked Nov 8, 2021 in WordPress Problems anonymous
0 votes
1 answer
I need to display a featured image on my WooCommerce product category pages
asked Nov 5, 2021 in WordPress Problems anonymous